P12430 [AOJ] Prime Number
普及
题目描述

problem

One day, Sosusa, who loves prime numbers, was playing with the pair $ (p, q) $, where $ p + q $ is a prime number. Suddenly, Sosusa wondered how many of these pairs were prime numbers with $ p $ and $ q $ both less than or equal to $ N $. Find the number on your behalf.

output

Output the number of pairs. Also, output a line break at the end.

Example

Input

3

Output

2

输入格式

见题面

输出格式

见题面

样例输入
3
样例输出
2