import scala.io.Source

val list = Seq("Sunny", "Cloudy", "Rainy")

def succ(x: String): String = {
  (list zip (list.tail :+ list.head)).toMap.get(x).get
}

val s = Source.stdin.getLines.toSeq.head
println(succ(s))
