For this problem, we are given the capacity of a ride and the number of people in line. We need to determine how many people there are in the last ride.
To do this, we need to find the remainder of the division between the number of people in line and the capacity of th