p = int(input()) a = 1 b = p print(a, b)