print 1 to 10

Please make sure that you have read our rules. And note:
(6) Do not post classroom or homework problems.

A useless result that must be obtained via artificial constraints is a pretty strong indication of homework.