
a=['1','d','r','t','5']       #5.8已完成
for p in a:
    if p=='5':
        print('baba')
    else:
        print('dadi')'''

'''
a=[]                          #5.9已完成
if a:
    for p in a:
        if p=='5':
            print('baba')
        else:
            print('dadi')
else:
    print('no')


'''
a=['1','2','q','w','e']    #5.10已完成
b=['Q','W','E','6','7']
b=[s.lower() for s in b]
for p in b:
    if p in a:
        print('输入别的用户名')
    else:
        print('本用户名未被使用')'''

for s in range(1,10):          #5.11 已完成
    if s==1:
        print('1st')
    elif s==2:
        print('2nd')
    elif s==3:
        print('3rd')
    elif s==4:
        print('4th')
    elif s==5:
        print('5th')
    elif s==6:
        print('6th')
    elif s==7:
        print('7th')
    elif s==8:
        print('8th')
    else:
        print('9th')
        
