A group of 49 hikers registered for an 8-day trekking trip. The organizers arranged food to last for the entire trip. A few last minute registrations saw more hikers join the expedition. As a result, the food lasted only for 7 days. How many hikers in all went trekking?