When a train ride is nonstop, the time of the ride is reduced by 1/3. With stops, the time is 18 hours. How long is the nonstop ride?