n = int(input()) ans = [1, 2] * (3 * n) print('!', *ans)