Problem J
M-Climb Road

The upperclassmen have conspired to have a water gun placed exactly every $N$ feet, with the first being $N$ feet from the beginning of the road. The M-Climb is $W$ miles (one mile is $5280$ feet), and you will be squirted every $N$ feet, including at the $W^{\text {th}}$ mile marker (if there is a water gun there). How many times will you get squirted?
Input
The input consists of two lines:
The first line contains a single integer $1 \leq W \leq 10\, 000$ representing the length of the road up to the M in miles.
The second line contains a single integer $1 \leq N \leq W$ representing the number of feet between each Mines student with a water gun.
Output
An integer representing how many times you will get squirted with a water gun. (Remember that there is no water gun at the $0^{\text {th}}$ mile marker.)
Sample Input 1 | Sample Output 1 |
---|---|
3 50 |
316 |
Sample Input 2 | Sample Output 2 |
---|---|
2 500 |
21 |