# -*- coding: utf-8 -*-"""Created on Sat Jul 30 10:14:24 2016
@author: cy"""
age=int(input())if age >= 18: print('adult')else: print('teenager')