Problem list
Log in
#icpc00252 · ICPC NCPC 2018

Baby Bites

Bronze III 5.0 s 256 MB

Arild just turned $1$ year old, and is currently learning how to count. His favorite thing to count is how many mouthfuls he has in a meal: every time he gets a bite, he will count it by saying the number out loud.

Unfortunately, talking while having a mouthful sometimes causes Arild to mumble incomprehensibly, making it hard to know how far he has counted. Sometimes you even suspect he loses his count! You decide to write a program to determine whether Arild's counting makes sense or not.

Input

The first line of input contains an integer $n$ ($1 \le n \le 1,000$), the number of bites Arild receives. Then second line contains $n$ space-separated words spoken by Arild, the $i$'th of which is either a non-negative integer $a_i$ ($0 \le a_i \le 10,000$) or the string "mumble".

Output

If Arild's counting might make sense, print the string "makes sense". Otherwise, print the string "something is fishy".

Example 1

Input
5
1 2 3 mumble 5
Output
makes sense

Example 2

Input
8
1 2 3 mumble mumble 7 mumble 8
Output
something is fishy

Example 3

Input
3
mumble mumble mumble
Output
makes sense
Source
ICPC NCPC 2018
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code