Given an integer N, count the number of pairs (a,b) that satisfy the following conditions:
- 1≤a<b≤N
- a+b divides a×b
A single line containing the integer N.
A single line containing an integer representing the number of pairs (a,b) that meet the conditions.
Example
Input:
15
Output:
4
Notes
Data scale and conditions:
- test1: N≤5×107
- test2: N≤108
- test3: N≤2×108
- test4: N≤3×108
- test5: N≤5×108
- test6: N≤109
- test7: N≤109
- test8: N≤231−1
- test9: N≤231−1
- test10: N≤231−1