

Time Limit: 2 sec / Memory Limit: 1024 MB
配点: 100 点
問題文
高橋君の住む町の天気は、一日ごとに晴れ(Sunny
)、くもり(Cloudy
)、雨(Rainy
)、晴れ、くもり、雨、… と周期的に変化します。
今日の天気を表す文字列 S が与えられるので、明日の天気を予測してください。
制約
- S は
Sunny
,Cloudy
,Rainy
のいずれかである
入力
入力は以下の形式で標準入力から与えられる。
S
出力
明日の天気を入力と同じ形式で出力せよ。
入力例 1
Sunny
出力例 1
Cloudy
高橋くんの住む町では、晴れの日の次の日の天気はくもりです。
入力例 2
Rainy
出力例 2
Sunny
Score: 100 points
Problem Statement
The weather in Takahashi's town changes day by day, in the following cycle: Sunny, Cloudy, Rainy, Sunny, Cloudy, Rainy, ...
Given is a string S representing the weather in the town today. Predict the weather tomorrow.
Constraints
- S is
Sunny
,Cloudy
, orRainy
.
Input
Input is given from Standard Input in the following format:
S
Output
Print a string representing the expected weather tomorrow, in the same format in which input is given.
Sample Input 1
Sunny
Sample Output 1
Cloudy
In Takahashi's town, a sunny day is followed by a cloudy day.
Sample Input 2
Rainy
Sample Output 2
Sunny