def mystere(L):
    if len(L) == 1 :
        return L[0]
    if L[0] < L[1]:
        L.pop(1)
    else:
        L.pop(0)

    return mystere(L)