Accepted.

I didn't like it. The problem's output specification says that "Output a blank line after each number.", and I think that I did it.
I exactly printed a new line between each number, and one after the last number, but...
Hmm... I guess I now understand the situation. OK. Now this is good.