~/algor $ cat problems/while-kesmalar-soni
Number of segments
Easy
1000 ms
64 MB
24%
Two positive integers $A$ and $B$ are given ($A \gt B$). The greatest possible number of segments of length $B$ is placed on a segment of length $A$. Find the number of segments $B$ placed on segment $A$.
Input
One line with two integers: $A$ and $B$.
Output
One integer — the number of placed segments.
Note
$1 \le B \lt A \le 10^{6}$
Examples
Input #1
10 3
Output #1
3
Input #2
20 5
Output #2
4