1274 石头剪子布


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

与机器玩石头剪子布游戏,不管对家是什么身份,一定要让对家输,让他知道机器的厉害,这是你编程的原则。对方出石头,你就出布,对家出布,你就出剪子,对家出剪子,你就出石头。

Input

游戏一开始,就是玩家出手的一些石头(Rock),剪子(Scissors),布(Paper)之类。

Output

针对玩家出手的石头剪子布,你出相应的布石头剪子以赢他(她)。结果一行一行输。

Sample

Input

Rock
Paper
Scissors

Output

Paper
Scissors
Rock

Source: qianneng


Comments

There are no comments at the moment.