n = int(input()) print(3*5*17*65537) print(1)