n, m = map(int, input().split())
arr = list(range(n+1))
print(*arr[1:])
for _ in range(N): query()
arr = input().split()
T = int(input()) for _ in range(T): ps = input() for s in ps: