a, b = input().split() c = a + b if c == '01': print(1) else: print(eval(c))