P13846 [CodeChef] prime
NOI
题目描述

Print sum of prime numbers upto n

Input
n - the number till which sum has to be done.

Output
print sum of primes ≤n.

Example

Input:
5

Output:
10

输入格式

见题面

输出格式

见题面

样例输入
5
样例输出
10