def solution(day):
    for d in range(1,len(day)+1):
        if day[d] < day[d+1] < day[d+2]:
            return d
    return -1

day = [
    0,100, 98, 95, 96, 94, 92, 93, 95, 98, 97, 
    96, 95, 94, 95, 97, 99, 101, 100, 102, 103, 
    105, 104, 102, 101, 103, 105, 107, 106, 108, 110
]

print(solution(day))
        
        
        
        
    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: