A spherical ball of mass 20 kg is stationary at the top of a hill of height 100 m. It rolls down a smooth surface to the ground and then climbs up another hill of height 30 m and finally rolls down to a horizontal base at a height 20 m above the ground. The velocity attained by the ball is: