text = 'abcdefghij'
t = 10
while t > 5:
    print(text[10 - t])
    t -= 1
    print(t)
    
#https://pt.stackoverflow.com/q/444294/101