def main():
    N = int(input())
    base = ""
    i = 1
    last = ""
    while N > 0:
        print(str(i) + base)
        # last = str(i) + base
        i += 1
        if i == 10:
            i = 1
            base += "9"
        N-=1
    # print(len(last))
if __name__ == "__main__":
    main()