#
# Uian Sol Gorgonio <sol.uian@gmail.com>
# Feb 26 2015
# 1037 - Intervalo
# https://www.urionlinejudge.com.br/judge/pt/problems/view/1037
#
# ad-hoc
#

n = float(raw_input())

if n < 0:
    print 'Fora de intervalo'
elif n >= 0 and n <= 25:
    print 'Intervalo [0,25]'
elif n > 25 and n <= 50:
    print 'Intervalo (25,50]'
elif n > 50 and n <= 75:
    print 'Intervalo (50,75]'
elif n > 75 and n <= 100:
    print 'Intervalo (75,100]'
else:
    print 'Fora de intervalo'

fd4fdeca24de95d2b77ee5f078e16c84974ed4aa
#
# Uian Sol Gorgonio <sol.uian@gmail.com>
# Feb 26 2015
# 1037 - Intervalo
# https://www.urionlinejudge.com.br/judge/pt/problems/view/1037
#
# ad-hoc
#

n = float(raw_input())

if n < 0:
    print 'Fora de intervalo'
elif n >= 0 and n <= 25:
    print 'Intervalo [0,25]'
elif n > 25 and n <= 50:
    print 'Intervalo (25,50]'
elif n > 50 and n <= 75:
    print 'Intervalo (50,75]'
elif n > 75 and n <= 100:
    print 'Intervalo (75,100]'
else:
    print 'Fora de intervalo'
