#abc214b. [abc214_b]How many?

[abc214_b]How many?

Problem Statement

How many triples of non-negative integers (a,b,c)(a, b, c) satisfy a+b+cleqSa+b+c \\leq S and atimesbtimescleqTa \\times b \\times c \\leq T?

Constraints

  • 0leqSleq1000 \\leq S \\leq 100
  • 0leqTleq100000 \\leq T \\leq 10000
  • SS and TT are integers.

Input

Input is given from Standard Input in the following format:

SS TT

Output

Print the number of triples of non-negative integers (a,b,c)(a,b,c) satisfying the conditions.


Sample Input 1

1 0

Sample Output 1

4

The triples (a,b,c)(a,b,c) satisfying the conditions are (0,0,0)(0,0,0), (0,0,1)(0,0,1), (0,1,0)(0,1,0), and (1,0,0)(1,0,0) ― there are four of them.


Sample Input 2

2 5

Sample Output 2

10

Sample Input 3

10 10

Sample Output 3

213

Sample Input 4

30 100

Sample Output 4

2471