import sys
import itertools
wether = input()
if not ( wether == 'Sunny' or wether == 'Cloudy' or wether == 'Rainy'): sys.exit()

base = ['Sunny','Cloudy','Rainy']
print(base[base.index(wether)+1]) if wether != base[-1] else print(base[0]) import sys sys import itertools itertools wether = input() wether input() input if not ( wether == 'Sunny' or wether == 'Cloudy' or wether == 'Rainy'): sys.exit() not ( wether == 'Sunny' or wether == 'Cloudy' or wether == 'Rainy') wether == 'Sunny' or wether == 'Cloudy' or wether == 'Rainy' wether == 'Sunny' or wether == 'Cloudy' wether == 'Sunny' wether 'Sunny' wether == 'Cloudy' wether 'Cloudy' wether == 'Rainy' wether 'Rainy' base = ['Sunny','Cloudy','Rainy'] base ['Sunny','Cloudy','Rainy'] 'Sunny' 'Cloudy' 'Rainy' print(base[base.index(wether)+1]) if wether != base[-1] else print(base[0]) wether != base[-1] wether base[-1] base -1 print(base[base.index(wether)+1]) print base[base.index(wether)+1] base base.index(wether)+1 base.index(wether) base.index base index wether 1 print(base[0]) print base[0] base 0 wether = input() input() wether base = ['Sunny','Cloudy','Rainy'] ['Sunny','Cloudy','Rainy'] base
import sys
import itertools
wether = input()
if not ( wether == 'Sunny' or wether == 'Cloudy' or wether == 'Rainy'): sys.exit()

base = ['Sunny','Cloudy','Rainy']
print(base[base.index(wether)+1]) if wether != base[-1] else print(base[0])