# -*- coding: utf-8 -*- import sys for i in range(0, 1000): print str(i).rjust(3, "0") sys.stdout.flush()