#include <stdio.h>
#include <math.h>
int main()
{
float a,b,c;
char t;
scanf ("%f%c%f",&a,&t,&b);//按顺序输入
switch(t)
{
case'+':c = a + b;break;
case'-':c = a - b;break;
case'*':c = a * b;break;
case'/':c = a / b;break;
default:printf("error");return 0;
}
printf("%.2f",c);
return 0;
}