DPRSDCDR - Depressed Coder

no tags 

Tinni is passionate about coding. But due to classes, CTs, and lab report, everyday she cannot code for at least three hours as suggested by Sadivai. So, sometimes she becomes depressed. But when she is able to code up to the mark she is jolly. Everyday Tinni eats, sleeps and does other household chores for 10 hours. She spends rest of her day attending classes, writing lab reports and preparing for CTs. And if there's time she smiles and does programming. Tinni's BF knows this fact but as he is illiterate he cannot calculate. So he seeks your help to make a program which can calculate whether Tinni will be jolly or depressed based on the input data.

Input

The input contains a number (1 ≤ N ≤ 1000) at the first line representing the number of test case. The next N lines contain 5 integers each, representing number of CT (0 ≤ nCT ≤ 3), number of Lab Reports (0 ≤ nLab ≤ 3), time required for each CT preparation (1 ≤ tCT ≤ 5) hours, time required for each Lab Report writing (1 ≤ tLab ≤ 5) hours and time for attending classes (3 ≤ tCls ≤ 8) hours.

Output

For each test cases print "Khushi" (means jolly in Bengali) or "Hotash" (means depressed in Bengali) in a new line.

Example

Input:
2
2 2 3 1 6
1 2 1 2 3

Output:
Hotash
Khushi

hide comments
cameron_knows: 2021-10-20 19:28:38

Sad that Python wasn't included. Oh well, I'll do it anyways.

dawid_zwiewka: 2017-10-15 14:15:55

It took me literally 1 minute to write a code and get AC in first go :)

shivam_mnnit: 2017-05-17 20:20:35

on ideone its perfectly fine but here it is showing wrong answer.how should i solve it??

ritiek: 2017-04-13 18:36:32

why so less languages?

vengatesh15: 2017-02-17 16:41:55

easy one AC in 1 go:-)

jedenxct: 2017-02-10 20:40:58

I now feel like a depressed coder.

varunhawk19: 2017-01-16 16:51:35

not working i checked another compiler working perfectly fine
first of all does she need 3hrs to code?

ekayesorko: 2016-10-31 07:25:10

scrutinized and edited. sorry for the inconvenience. happy coding. :)

abhisheksms97: 2016-09-29 13:37:09

The second input
1 2 1 2 "2"
is wrong
as time for attending classes should be 3 ≤ tCls ≤8
but input is shown as 2
Certainly making anyone a "Depressed Coder"

Last edit: 2016-09-29 13:45:34

Added by:ekayesorko
Date:2016-09-26
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:MAWK BC C NCSHARP C++ 4.3.2 CPP CPP14 COFFEE DART FORTH JAVA JULIA KTLN OCT PROLOG PYPY3 R RACKET SQLITE SWIFT UNLAMBDA