# No.809 かけįŽ— c = int(input()) print('{0} {1}'.format(1, c))