6531: ABC186 —— A - Brick
[Creator : ]
Description
We have a truck, which can carry at most $N$ kilograms.
We will load bricks onto this truck, each of which weighs $W$ kilograms. At most how many bricks can be loaded?
We will load bricks onto this truck, each of which weighs $W$ kilograms. At most how many bricks can be loaded?
Input
Input is given from Standard Input in the following format:
$N\ W$
$N\ W$
Output
Print an integer representing the maximum number of bricks that can be loaded onto the truck.
Constraints
$1≤N,W≤1000$
$N$ and $W$ are integers.
$N$ and $W$ are integers.
Sample 1 Input
10 3
Sample 1 Output
3
Each brick weighs $3$ kilograms, so $3$ bricks weigh $9$ kilograms, and $4$ weigh $12$ kilograms.
Thus, we can load at most $34 bricks onto the truck that can carry at most $10$ kilograms.
Sample 2 Input
1000 1
Sample 2 Output
1000