for i in range(10): print(i, end=' ') print()