Problem:
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, or Rainy.

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

Solution in C# (Mono 4.6.2.0) (judge verdict: Runtime Error)

using System;
using System.Collections.Generic;

class Program
{
	static void Main(string[] args)
	{
		var IN = Console.ReadLine().Split(' ');
		var N = uint.Parse(IN[0]);
		var K = uint.Parse(IN[1]);
		var Q = uint.Parse(IN[2]);
		var A = new List<uint>();
		var member = new List<long>();
		var tmpmember = new List<uint>();
		
		for (int i = 0; i < Q; i++) {
			A.Add(uint.Parse(Console.ReadLine()));
		}
		
		for (int i = 0; i < N; i++) {
			member.Add(K - A.ToArray().Length);
		}
		var score = member.ToArray();
		
		
		foreach (var a in A) {
			score[a - 1]++;
		}
		
		foreach (var element in score) {
			if (element <= 0) {
				Console.Write("No\r\n");
			} else {
				Console.Write("Yes\r\n");
			}
		}
	}
}