601151 - 素数个数
                            Time Limit : 1 秒
                        
                        
                            Memory Limit : 128 MB
                        
                    编程求2~n(n为大于2的正整数)中有多少个素数。
Input
输入n(2≤n≤50000)。
Output
素数个数。
Examples
Input
10
Output
4