Continental Interview Question

How would you print this: 1 12 123