N, *X = map(int, open(0).read().split()) ANS = ["12345678901234567"] * N print(*ANS, sep = "\n")