#631. 素数个数

素数个数

Description

编程求2~n(n为大于2的正整数)中有多少个素数。

## Input Format

输入n(2≤n≤50000)。

## Output Format

素数个数。

```input1 10

```output1
4