rhss,operator,lhs=input().split()
if(operator=='/'):
   print(int(rhss)//int(lhs))
else:
   print(int(rhss)%int(lhs))

983b049f86a1d44415b2d5b1598365750975e4fc
<mask token>

<mask token>
if operator == '/':
    print(int(rhss) // int(lhs))
else:
    print(int(rhss) % int(lhs))

rhss, operator, lhs = input().split()
if operator == '/':
    print(int(rhss) // int(lhs))
else:
    print(int(rhss) % int(lhs))

rhss,operator,lhs=input().split()
if(operator=='/'):
   print(int(rhss)//int(lhs))
else:
   print(int(rhss)%int(lhs))
