Problem A. Alice and numbers

Author:М. Спорышев   Time limit:1 sec
Input file:Standard input   Memory limit:512 Mb
Output file:Standard output  

Statement

Young programmer Alice does not like integers number K.

Alice wants to know number of integers in range from 1 to N (inclusive) not divisible by K.

Input format

Input contains two integer numbers N and K.

Output format

Output a single integer — number of integers not divisible by K.

Constraints

2 ≤ N ≤ 109

1 ≤ K ≤ 100

Sample tests

No. Standard input Standard output
1
5 2
3
2
4 2
2

0.068s 0.021s 13