C = int(input()) A = 1 B = C print(A, end=' ') print(B)