mod=3*5*17*257*65537 n=int(input()) if n<150: raise Exception print(mod) print(1)