2767: Gcd

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

给定整数N,求1<=x,y<=N且Gcd(x,y)为素数的
数对(x,y)有多少对.

Input

一个整数N

Output

如题

Sample Input Copy

4

Sample Output Copy

4

HINT

hint
对于样例(2,2),(2,4),(3,3),(4,2)

1<=N<=10^7