#abc186a. [abc186_a]Brick
[abc186_a]Brick
Problem Statement
We have a truck, which can carry at most kilograms.
We will load bricks onto this truck, each of which weighs kilograms. At most how many bricks can be loaded?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer representing the maximum number of bricks that can be loaded onto the truck.
Sample Input 1
10 3
Sample Output 1
3
Each brick weighs kilograms, so bricks weigh kilograms, and weigh kilograms.
Thus, we can load at most bricks onto the truck that can carry at most kilograms.
Sample Input 2
1000 1
Sample Output 2
1000