Mock CCC '19 Contest 1 J1 - Froggo the Frog

View as PDF

Submit solution


Points: 3 (partial)
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

It is well-known, thanks to multiple cartoons, that frogs like to eat flies. A certain frog, Froggo the frog, has decided to co-exist with flies, and will therefore not eat any flies. Instead, he has decided to eat other frogs!

If Froggo sees an animal S in front of him and it is a Fly, you need to tell him not to eat it! Otherwise, if it's a Frog, make sure that he eats it, otherwise he will go hungry!

Input Specification

The first and only line of input will be a string S, which will either be Fly or Frog.

Output Specification

If the input is something he can eat, output eat!, otherwise, output don't eat!.

Sample Input 1

Fly

Sample Output 1

don't eat!

Sample Input 2

Frog

Sample Output 2

eat!

Comments

There are no comments at the moment.