from collections import * from itertools import * from functools import * from heapq import * from bisect import * import sys,math N = int(input()) for i in range(1,N+1): print(f'! {i}')