using System;
public class Program
{
public static void Main()
int i,count,k;
int count2=0;
Console.WriteLine("enter the number");
int n= Convert.ToInt32(Console.ReadLine());
for(i=3;i<=n;i++)
count=0;
for(int j=1;j<=i;j++)
if(i%j==0)
count++;
}
if(count==2)
int sum=0;
for(k=2;k<i;k++)
int count1=0;
for(int j=1;j<=k;j++)
if(k%j==0)
count1++;
if(count1==2)
sum=sum+k;
if(sum==i)
count2++;
break;
if(sum>i)
Console.WriteLine("the total numbers are {0}",count2);