#include<iostream>
using namespace std;
int main(){
double m;
cin>>m;
if(m>=0&&m<=25) cout<<"Intervalo [0,25]";
else if(m>25&&m<=50) cout<<"Intervalo (25,50]";
else if(m>50&&m<=75) cout<<"Intervalo (50,75]";
else if(m>75&&m<=100) cout<<"Intervalo (75,100]";
else cout<<"Fora de intervalo";
return 0;
}