Rock, Paper, Scissors


Submit solution

Points: 100
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

Fatemah likes to play Rock Paper Scissors. She wants to always win at this game.
Write a program that will accept input move that represents one of the possible choices which are rock or paper or scissors. The program will always give Fatemah the winning move. For example, if paper is played the program will use scissors. If rock is played the program will use paper.


Constraints

move is a string that matches one of the following strings:

  • rock
  • paper
  • scissors

Input

Input is in the following format:

move

Output

Print the winning move based on user input. Possible outputs are:

  • rock
  • paper
  • scissors

Samples

Sample 1

Input Output
rock paper

Sample 2

Input Output
paper scissors

Sample 3

Input Output
scissors rock

Comments

There are no comments at the moment.