TSSPC Contest 1 P1 - Revenge

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

In a the depths of a dark tunnel, you're mining diamonds under the light of a single torch. The spooky echoes of the cave grow thicker as you reach deep into the never ending darkness. Food is running low and you know you'll starve to death unless you turn back now and make it back in time with the diamonds. As you pack up your pickax, you hear a subtle hissing noise behind your head. Is it the sound of a creeper? At this moment you know hours of hard work could be lost, all the time you've put into the expedition could all come to a worthless end. Turning around slowly, you meet eye to eye with-

creeper

Input Specification

On the first line, there will an integer (1 \le N \le 1\,000)

The next N lines will contain a string of lowercase letters s_i denoting what you see.

Output Specification

For each line of input, output aw man if the input is creeper, else output revenge

Sample Input

5
bat
zombie
skeleton
adam
creeper

Sample Output

revenge
revenge
revenge
revenge
aw man

Comments

There are no comments at the moment.