#Lutece3264. 有序对

有序对

Migrated from Lutece 3264 有序对

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

求有序对 (a,b)(a,b) 的个数,满足:

  1. ab=amodb\lfloor \frac{a}{b} \rfloor = a\bmod b
  2. 1ap1\leq a\leq p1bq1\leq b \leq q

Input

一行,两个正整数 ppqq

Output

一行,一个整数,表示答案。

Samples

19 84
25

Constraints

1p,q1091\leq p,q\leq 10^9

Resources

2024 UESTC ICPC Training for Math