fun calc(s:String):String = when(s){
    "Sunny" -> "Cloudy"
    "Cloudy" -> "Rainy"
    "Rainy" -> "Sunny"
    else -> TODO()
}

fun main(args:Array<String>) {
    val S = readLine()!!
    println(calc(S))
}
