A ladder leans against the wall of a building. The ladder measures 66 inches and forms an angle of 45 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?