s = ''.join(input().split(' ')) if s == "01": print(1) else: print(eval(s))