for c in range(1, 6):
    print('Oi')
print('FIM')


for c in range(0, 6):
    print(c)
print('FIM')


for c in range(6, 0, -1):
    print(c)
print('FIM')


for c in range(0, 7, 2):
    print(c)
print('FIM')

n = int(input('Digite um numero: '))
    for c in range(0, n+1):
print('FIM')