시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB196887347.403%

문제

Jane (my ~2 years-old baby daughter) has started speaking some simple words now. "Daddy" and "Mommy" are the two common first words. Hearing those words for the first time are indeed beautiful and memorable.

Last year, Steven really wanted to record when his baby called him for the first time. So, Steven put a microphone and sound capture program near Jane's baby cot (baby's bed). This microphone captured Jane's sounds and the program transmitted the list of words captured to Steven. He wrote a program to detect the moment when Jane's first call him: "daddy" (or its variants). This time, you will also write similar program.

입력

You are given one word per line. These are the list of captured sounds. Each line contains only lowercase alphabet without any whitespaces and at most 20 characters. Input is terminated with an EOF.

출력

For each word/line, output "She called me!!!" in one line if that word matches this regular expression below. Otherwise, output "Cooing" in one line (to say that this is just some baby soft murmuring sound).

Note: Quotes are only for clarity.

The regular expression (regex): "da+dd?(i|y)".

If you are not familiar with regex, let me explain:

  • '+' means one or more of the preceding element.
  • '?' means zero or one of the preceding element.
  • A vertical bar '|' separates alternatives.
  • Parentheses are used to define the scope and precedence of the operators.

예제 입력 1

aaaa
eeeh
auwww
dda
daaada
daddy
ouuuww
dadi

예제 출력 1

Cooing
Cooing
Cooing
Cooing
Cooing
She called me!!!
Cooing
She called me!!!