for i in range(1, 101):
 
    print(i, end=" ")
 
    if i % 10 == 0:
        print()