Autumn's family took a road trip to Mount Rushmore. Autumn fell asleep 39% of the way through the trip. If Autumn fell asleep after they had travelled 351 miles, what was the total length of the trip?