100 atcoder#ABC186A. [ABC186A] Brick

[ABC186A] Brick

Score : 100100 points

Problem Statement

We have a truck, which can carry at most NN kilograms.

We will load bricks onto this truck, each of which weighs WW kilograms. At most how many bricks can be loaded?

Constraints

  • 1N,W10001\leq N,W \leq 1000
  • NN and WW are integers.

Input

Input is given from Standard Input in the following format:

NN WW

Output

Print an integer representing the maximum number of bricks that can be loaded onto the truck.

10 3
3

Each brick weighs 33 kilograms, so 33 bricks weigh 99 kilograms, and 44 weigh 1212 kilograms.

Thus, we can load at most 33 bricks onto the truck that can carry at most 1010 kilograms.

1000 1
1000