On her first shot, a golfer hit the ball 167167 yards. On her second shot, she hit the ball another 4949 feet and made it almost to the hole. On her final shot, the ball went only 77 inches before going in the hole. How many total inches did the ball travel?