#abc254d. [abc254_d]Together Square

[abc254_d]Together Square

Problem Statement

You are given an integer NN. Find the number of pairs (i,j)(i,j) of positive integers at most NN that satisfy the following condition:

  • itimesji \\times j is a square number.

Constraints

  • 1leNle2times1051 \\le N \\le 2 \\times 10^5
  • NN is an integer.

Input

Input is given from Standard Input in the following format:

NN

Output

Print the answer.


Sample Input 1

4

Sample Output 1

6

The six pairs (1,1),(1,4),(2,2),(3,3),(4,1),(4,4)(1,1),(1,4),(2,2),(3,3),(4,1),(4,4) satisfy the condition.

On the other hand, (2,3)(2,3) does not, since 2times3=62 \\times 3 =6 is not a square number.


Sample Input 2

254

Sample Output 2

896