eolymp
Competitions

БГУ Личное Первенство

Stepan and pairs

Time limit 1 second
Memory limit 128 MiB

Recently Stepan is very interested in pairs of numbers, and instead of pairs he is interested in greater common divisor, lets denote it as GCD(x, y). Now Stepan has an integer n and he is interested in the next information: how many pairs of integers (i, j) exist such that 1i, jn and i = GCD(i, j).

Help him to solve this problem.

Input data

One integer n (1n10^6).

Output data

Print the number of required pairs.

Examples

Input example #1
1
Output example #1
1
Input example #2
4
Output example #2
8
Input example #3
10
Output example #3
27
Source 2012-2013 III stage of All-Ukrainian school Olympiad, Day 1