A bus takes minutes to drive from one stop to the next, and waits minute at each stop to let passengers board. Anya takes minutes to walk from one bus stop to the next. As Anya reaches a bus stop, if the bus is at the previous stop or has already left the previous stop, then she will wait for the bus. Otherwise she will start walking toward the next stop. Suppose the bus and Anya start at the same time toward the library, with the bus stops behind. After how many minutes will Anya board the bus?

38
37
39
40
41