What an Easy Problem
Time limit1sMemory limit512 MB
Implement a function that returns the move losing to Kyojun each round, given the move he announces before playing.
- Level
Easy1 of 10
- Topics
- Implementation, Simulation
- Solved
- No attempts yet
Problem
From now on, you will play a simple game of rock-paper-scissors with Kyojun. Before playing, Kyojun runs the following mind game.
- If he says "Kyojun will play 'scissors'!" before the game, he actually plays 'rock'.
- If he says "Kyojun will play 'paper'!" before the game, he actually plays 'paper'.
- If he says "Kyojun will play 'rock'!" before the game, he actually plays 'scissors'.
You will now play T rounds of rock-paper-scissors with Kyojun. You must lose all T rounds to Kyojun.
Write a program that plays rock-paper-scissors with Kyojun.
Input
The Sample Grader reads the following information from Standard Input. You must not read any input.
The first line gives a natural number T, the total number of rounds to play with Kyojun.
Starting from the second line, T lines follow, each giving the value of the argument P of the function janken.
Output
The Sample Grader writes the following information to Standard Output. You must not write any output. Starting from the first line, T lines follow, each giving a value returned by the function janken.
Constraints
- 1 ≤ T ≤ 100