C = int(input()) print("1", C)