Problems
For natural numbers
For example, for 6:
6 \div 1 = 6 \dots 0 6 \div 2 = 3 \dots 0 6 \div 3 = 2 \dots 0 6 \div 4 = 1 \dots 2 6 \div 5 = 1 \dots 1 6 \div 6 = 1 \dots 0
Thus, the divisors of 6 are 1, 2, 3, and 6 — a total of four divisors.
Given two natural numbers
Input
The first line contains
1 \le N \le 10{,}000 1 \le K \le N
Output
Print the
If 0.
Example #1
6 3
3
Example #2
25 4
0
Example #3
2735 1
1
Tag
Source
KOI 본선 2008 초1