for i in range(10): print(i) print(2 * i) print(3 * i)