a, b = 128, 256 print(a, b) if int(input()) == 1: print(1) else: print(0)