# No.809 ã‹ã‘įŽ— c = int(input()) print('{0} {1}'.format(1, c))