#发文福利##简单计算机#
#include <bits/stdc++.h>
using namespace std;
int main()
{
char o;
double n1,n2;
scanf("%lf",&n1);
cin>>o;
scanf("%lf",&n2);
switch(o)
{
case '*':
{
printf("%0.15f",n1*n2);
break;
}
case '/':
{
printf("%0.15f",n1/n2);
break;
}
case '+':
{
printf("%0.15f",n1+n2) ;
break;
}
case '-':
{
printf("%0.15f",n1-n2) ;
break;
}
default:
cout<<"输入错误";
}
return 0;
}