#D8168. Frog Going Straight
Frog Going Straight
Frog Going Straight
A frog is about to return to the burrow. The burrow is D centimeters ahead of the frog, and the frog goes straight toward the burrow. There are only two actions that a frog can do:
- Large jump (go forward L centimeters)
- Small jump (go 1 cm forward)
The frog aims to just land in the burrow without jumping over it.
Create a program that asks how many times a frog needs to jump to return to its burrow.
Input
The input is given in the following format.
DL
The input is one line, given the distance D (1 ≤ D ≤ 10000) to the burrow and the distance L (2 ≤ L ≤ 10000) for the frog to travel on a large jump.
Output
Print on one line how many times the frog needs to jump.
Examples
Input
10 5
Output
2
Input
7 4
Output
4
inputFormat
Input
The input is given in the following format.
DL
The input is one line, given the distance D (1 ≤ D ≤ 10000) to the burrow and the distance L (2 ≤ L ≤ 10000) for the frog to travel on a large jump.
outputFormat
Output
Print on one line how many times the frog needs to jump.
Examples
Input
10 5
Output
2
Input
7 4
Output
4
样例
10 5
2