numbers=[50,49,30,60,76,80,90]
i=0
a=90
b=80
a,b=b,a
while i<len(numbers):
    if numbers[i]>a:
        b=numbers[i]
    i=i+1
print(a)













   












    


        



        





    













