Processing math: 100%

Problem A. Arithmetic pairs

Author:A. Baranov   Time limit:1 sec
Input file:input.txt   Memory limit:256 Mb
Output file:output.txt  

Statement

Your program must calculate total number of such pairs of integers (p,n) that p1, n>1 и ApnB.

Input file format

Input file contains two integers A and B.

Output file format

Output file must contain a single integer — number of pairs.

Constraints

2AB<263

Sample tests

No. Input file (input.txt) Output file (output.txt)
1
10 100
13
2
37 48
0

0.055s 0.011s 13