Peyton's family took a road trip to the Grand Canyon. Peyton fell asleep 77% of the way through the trip. If the total length of the trip was 1000 miles, how many miles had they travelled when Peyton fell asleep?