'''
1
i=1
while i <=5:
print(i)
i = i+1
2
i=2
while i <=10:
print(i)
i = i+2
3
i=10
while i >=1:
print(i)
i = i-1
4
i=1
while i <=100:
print(i)
i = i+5
5
suma=0
i=1
while i <=10:
suma=suma+i
i=i+1
print(suma)
9
for i in range (1,6):
print(i)
10
for i in range (2,11,2):
print(i)
11
suma=0
i=1
for i in range(11):
suma=suma+i
print(suma)
19
p=input('napisz python: ')
i=0
while i <len(p):
print(p[i])
i +=1
17
for i in range (21):
if i > 0 and i<21:
if i%4 ==0:
print(i)
12
for i in range (7):
print("b")
8
i=100
while i <10000:
if i%7==0:
print(i)
break
i=i+1
13
for i in range (1,6):
print (i**2)
14
for i in range (10,0,-1):
print(i)
18
for i in range (1,20):
if i <10:
print(i)
6
i=0
while i <=9:
print("a")
i=i+1
'''
JycnCjEKaT0xCndoaWxlIGkgPD01OgogICAgcHJpbnQoaSkKICAgIGkgPSBpKzEKICAgIAoyCmk9Mgp3aGlsZSBpIDw9MTA6CiAgICBwcmludChpKQogICAgaSA9IGkrMiAgIAogICAgCjMKaT0xMAp3aGlsZSBpID49MToKICAgIHByaW50KGkpCiAgICBpID0gaS0xCgo0Cmk9MQp3aGlsZSBpIDw9MTAwOgogICAgcHJpbnQoaSkKICAgIGkgPSBpKzUKCjUKc3VtYT0wCmk9MQp3aGlsZSBpIDw9MTA6CiAgICBzdW1hPXN1bWEraQogICAgaT1pKzEKcHJpbnQoc3VtYSkKICAgIAoKOQpmb3IgaSBpbiByYW5nZSAoMSw2KToKICAgIHByaW50KGkpCgoxMApmb3IgaSBpbiByYW5nZSAoMiwxMSwyKToKICAgIHByaW50KGkpCiAgICAKMTEKc3VtYT0wCmk9MQpmb3IgaSBpbiByYW5nZSgxMSk6CiAgICBzdW1hPXN1bWEraQpwcmludChzdW1hKQoKMTkKcD1pbnB1dCgnbmFwaXN6IHB5dGhvbjogJykKaT0wCndoaWxlIGkgPGxlbihwKToKICAgIHByaW50KHBbaV0pCiAgICBpICs9MQoKMT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