A ladder leans against the wall of a building. The ladder measures 39 inches and forms an angle of 47 degrees with the ground. How far from the ground, in inches, is the top of the ladder? How far from the wall, in inches, is the base of the ladder? Round to two decimal places as needed.