Meow Meow

View as PDF

Submit solution

Points: 100 (partial)
Time limit: 2.0s
Memory limit: 512M

Author:
Problem type

problem header

Digger and Rykker (pictured below, taking a break from meowing) like to make noise.

cats

We've categorised the noises they make as follows:

  • hiss: This is represented in text as hi, followed by at least 2 ss.
  • trill: This is represented in text as tr, followed by some non-zero amount of is, and at least 2 ls.
  • burble: This is represented in text as b, followed by some non-zero amount of us, followed by some non-zero amount of rs, followed by a b, followed by some non-zero amount of ls, followed by an e.

We want you to write a program to recognise these.

Input

Input will being with a single integer T, the number of test cases. After this T lines will follow. Each line will contain a single string s, with no whitespace.

Output

If s is a hiss, trill, or burble, print hiss, trill or burble. If s is none of these, then print human noises.

Constraints

  • 1 \leq T \leq 20
  • 1 \leq |s| \leq 100

Example

Input

7
hisss
triiilll
buuurrrbllle
his
trlll
burbble
hello

Output

hiss
trill
burble
human noises
human noises
human noises
human noises

Explanation

The first 3 lines fit their respective definitions.

  • his does not have two ss.
  • trlll needs at least 1 i.
  • burbble repeats a b when it should not.
  • hello fits none of the 3 categories.

Comments

There are no comments at the moment.