Count Multiples of K up to N
Count how many numbers from 1 to N are multiples of K.
Input format
A single line with two integers N and K (both at least 1).
Output format
Print how many integers from 1 to N are multiples of K.
Constraints
- Values fit in a 64-bit signed integer
- Trailing whitespace and a trailing newline are ignored by the judge
Read from stdin, write to stdout. Sample cases below show the exact format.
Sample cases
Example 1
Input
10 2Expected output
5Example 2
Input
9 3Expected output
3