def f(list):
m=list[0]
for i in range(1,len(list)):
if :
m=list[i]
return m
s=[4,5,2,6,5,8]
print(f(s))