#include <iostream>
#include <cstdio>
using namespace std;
int main(){
double a; cin >> a;
if(a < 0 || a > 100) cout << "Fora de intervalo" << endl;
else if(a <= 25) printf("Intervalo [0,25]\n");
else if(a <= 50) printf("Intervalo (25,50]\n");
else if(a <= 75) printf("Intervalo (50,75]\n");
else printf("Intervalo (75,100]\n");
return 0;
}