object Main extends App {
    val current = scala.io.StdIn.readLine
    val next = current match {
      case "Sunny" => "Cloudy"
      case "Cloudy" => "Rainy"
      case "Rainy" => "Sunny"
    }

    println(next)
}