A magic beanstalk doubles in height every hour. If its height is 0.5 meters after the first hour, 1 meter after the second hour, 2 meters after the third hour, and so on, after how many hours will its height first exceed 50 meters?
7 hours
8 hours
9 hours
10 hours