#include <bits/stdc++.h>
using namespace std;
bool p(int x)
{
if(x<2) return false;
for(int i=2;i<=x/i;i++)
{
if(x%i==0)
{
return false;
}
}
return true;
}
int main()
{
long long n,m,s=0;
cin>>n>>m;
for(int i=n;i<=m;i++)
{
if(p(i))
{
s++;
}
}
cout<<s;
}
想知道哪错了:(