#include <iostream>
using namespace std;
int main() { int a,b; char c; cin>>a>>b>>c; switch (c) { case '+': cout<<a+b; break; case '-': if (a>b) cout<<a-b; else cout<<b-a; break; case '/': if (a>b) cout<<a/b; else cout<<b/a; break; case '*': cout<<a*b; break; }}