def algo():
    P=10500
    n=2020
    while P>=1500 :
        P=0.86*P
        n=n+1
    return(n)

