# 06 August 08:38PM-08:41PM 3min 
                          # SELF  
#                  Logic    30sec  
#                  Coding   2min 

l=[10,20,30,40]
x=40
for i in range(len(l)):
    if x==l[i]:
        print(i)