
#include <iostream>
#include <cmath>
using namespace std;
int main () 
{
	int limit, count=0;
	
	cout << " Integer : " << endl;
	cin >> limit;
	
    for (int i=2; i<=limit; i++) 
    {
        bool prime=true;
        for (int j=2; j*j<=i; j++)
        {
            if (i % j == 0) 
            {
                prime=false;
                break;    
            }
        }   
        if(prime) {
        	count++;
        }
    }
    cout << "Total : " << count;
    return 0;
}