import sys; input = sys.stdin.readline N = int(input()); K = lambda: print('impossible')