#AM3K102. 统计 1 到 n 中质数个数

统计 1 到 n 中质数个数

题目描述

输入一个正整数 n,输出 1 到 n 中质数的个数。

输入格式

输入一行,一个正整数 n。

输出格式

输出一个整数。

1
0

数据范围与约定

1≤n≤5000