module Main where

main = do
  weather <- getLine
  putStrLn $ nextWeather weather

nextWeather :: String -> String
nextWeather "Sunny" = "Cloudy"
nextWeather "Cloudy" = "Rainy"
nextWeather "Rainy" = "Sunny"