By Ricardo Ramos Ribeiro, Senai Cimatec Brazil
The programming teacher Barroquinha loves to pass URI questions to his students, but Professor Umbujahyba changed the network password and forgot to move to Barroquinha.
As Barroquinha does not see the room numbers very well, he asked you to develop an algorithm that calculates how many doors he must pass to arrive in the Umbujahyba room.
The entry contains 2 integers B (0 <= B <= 150) and U (1 <= U <= 150), with the room of Barroquinha and Umbujahyba. The input ends in EOF
Print the number of rooms that Barroquinha must pass to reach the Umbujahyba room.
|Input Sample||Output Sample|