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