#include<iostream>
using namespace std;
#include<cstdio>
#include<cmath>
int arith(int x,char c,int y)
{
switch(c)
{
case '+': return x+y;
case '-': return x-y;
case '*': return x*y;
case '/': return x/y;
case '%': return x%y;
}
}
int main()
{
int a,b;
char c;
scanf("%d%c%d",&a,&c,&b);//scanf接受字符不需要空格隔开
printf("%d",arith(a,c,b));
return 0;
}