izd=input('1 - 111\n2 - 222\n3 - 333\n0 - выход\n')
while izd=='1':
i=input('new1')
if i=='0':
break
print('111111')
while izd=='2':
i=input('new1')
if i=='0':
break
print('22222')
while izd=='3':
i=input('new1')
if i=='0':
break
print('33333')
aXpkPWlucHV0KCcxIC0gMTExXG4yIC0gMjIyXG4zIC0gMzMzXG4wIC0g0LLRi9GF0L7QtFxuJykKd2hpbGUgaXpkPT0nMSc6CiAgICBpPWlucHV0KCduZXcxJykKICAgIGlmIGk9PScwJzoKICAgICAgICBicmVhawogICAgcHJpbnQoJzExMTExMScpCndoaWxlIGl6ZD09JzInOgogICAgaT1pbnB1dCgnbmV3MScpCiAgICBpZiBpPT0nMCc6CiAgICAgICAgYnJlYWsKICAgIHByaW50KCcyMjIyMicpCndoaWxlIGl6ZD09JzMnOgogICAgaT1pbnB1dCgnbmV3MScpCiAgICBpZiBpPT0nMCc6CiAgICAgICAgYnJlYWsKICAgIHByaW50KCczMzMzMycp