x,y,z=input().split; x=int(x);y=int(y);z=str(z) if (z=='+'): print(x+y) elif (z=='-'): print(x-y) elif (z=='*'): print(x*y) elif (z=='/'): if (y==0): print("Divided by zero!") else : print(x//y); else: print("Invalid operator!")