'''
Created on 2010. 6. 27.

@author: user
'''

for x in range(1, 2000):
    y=str(x)
    while len(y)!=4:
        y='0'+y
    print('[[[SPOJ %s]]]' %y)
0c38363e64a5a5569d1041997b2203b932d4e084
<mask token>

<mask token>
for x in range(1, 2000):
    y = str(x)
    while len(y) != 4:
        y = '0' + y
    print('[[[SPOJ %s]]]' % y)

'''
Created on 2010. 6. 27.

@author: user
'''

for x in range(1, 2000):
    y=str(x)
    while len(y)!=4:
        y='0'+y
    print('[[[SPOJ %s]]]' %y)