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