10

A snail tries to get to the top of a tree. The tree is 50 meter long. During the day the snail gets up 10 meters and during the night when the snail sleeps, it goes down by 9 meters. How many days does it take for the snail to get to the top?