提示: 欢迎访问OurACM平台。
Problem 2182 水题

Accept: 476    Submit: 743
Time Limit: 1000 mSec    Memory Limit : 32768 KB

Problem Description

胖哥自从当上公务员,赢取白富美,走向人生巅峰后,已经懒散到不想出题了,不仅如此,他连题目都懒得看了,现在他只会根据题目第一个单词的长度判定这个题目的难度

如果题目的第一个单词太长(长度大于3),他会说这题太难,不可能想的出来; 如果题目的第一个单词太短(长度不大于3),他会说这题太简单,懒得去想

现在给定一个题目,L想知道胖哥对于这道题会作出什么反应

Input

首先是一个正整数cas,表示有cas组输入,cas<=100

对于每组输入,会给出一行,每行表示一个题目,每个题目只会由大写字母,小写字母或者空格构成,每行的第一个字符一定不会是空格,多个空格可能连续出现,每行最多200个字符

Output

对于每个题目,如果胖哥觉得这题太难,输出"Too hard!",否则输出"Too easy!"

Sample Input

12 If the day is done If birds sing no more If the wind has fiagged tired Then draw the veil of darkness thick upon me Even as thou hast wrapt the earth with The coverlet of sleep and tenderly closed The petals of the drooping lotus at dusk From the travere Whose sack of provisions is empty before the voyage is ended Whose garment is torn and dustladen Whose strength is exhausted remove shame and poverty And renew his life like a flower under The cover of thy kindly night

Sample Output

Too easy! Too easy! Too easy! Too hard! Too hard! Too easy! Too hard! Too hard! Too hard! Too hard! Too easy! Too easy!

Source

FOJ有奖月赛-2014年11月

Submit  Back  Status  Discuss