# for
for i in range(0, 9):
    print i
else:
    print 'exit'
	
# break(for | while)
for i in range(0, 9):
	print i
	if i == 5:
	    break
else:
    print 'exit'
410abaea2a16d98727c5c3bf8587447d31dca6c2
# for
for i in range(0, 9):
    print i
else:
    print 'exit'
	
# break(for | while)
for i in range(0, 9):
	print i
	if i == 5:
	    break
else:
    print 'exit'