while 1:print(eval("[0,"+input()[1:]))