#include <bits/stdc++.h>
using namespace std;

int main()
{
	int N,R,L,s,t=0;
    cin>>N>>L>>R;
    for(int i=1; i<=N; i++)
    {
        cin>>s;
        if(s>=L && s<=R)
        {
            t++;
        }
    }
    cout<<t;
	return 0;
}

0 comments

No comments so far...