#include
using namespace std;
int main()
{
int n,i,a,b;
cout<<“enter the range of numbers”;
cin>>a>>b;
for(i=a;i<=b;i++)
{
for(n=2;n<=i/2;n++)
{
if(i%n==0)
{
break;
}
}
if(i==n)
{
cout<<n<<endl;
}
}
return 0;
}