题目描述
Problem Statement
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?
Input
Input is given from Standard Input in the following format:
N W
Output
Print an integer representing the maximum number of bricks that can be loaded onto the truck.
Constraints
- $1\leq N,W \leq 1000$
- N and W are integers.
Sample Input 1
10 3
Sample Output 1
3
Each brick weighs 3 kilograms, so 3 bricks weigh 9 kilograms, and 4 weigh 12 kilograms.
Thus, we can load at most 3 bricks onto the truck that can carry at most 10 kilograms.
Sample Input 2
1000 1
Sample Output 2
1000
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
10 3
样例输出
3