program main
  implicit none
  integer i
  character(10) S
  read(*, *) S
  !read(*, *) (L(i), i = 1,N)
  if (trim(S) == 'Sunny') then
    write(*, *) 'Cloudy'
  else if (trim(S) == 'Cloudy') then
    write(*, *) 'Rainy'
  else if (trim(S) == 'Rainy') then
    write(*, *) 'Sunny'
  end if
end program main
