print({'Sunny':'Cloudy',
 'Cloudy':'Rainy',
 'Rainy':'Sunny'}[input()]) print({'Sunny':'Cloudy',
 'Cloudy':'Rainy',
 'Rainy':'Sunny'}[input()]) print {'Sunny':'Cloudy',
 'Cloudy':'Rainy',
 'Rainy':'Sunny'}[input()] {'Sunny':'Cloudy',
 'Cloudy':'Rainy',
 'Rainy':'Sunny'} 'Sunny' 'Sunny' 'Cloudy' 'Cloudy' 'Cloudy' 'Rainy' 'Rainy' 'Rainy' 'Sunny' input() input
print({'Sunny':'Cloudy',
 'Cloudy':'Rainy',
 'Rainy':'Sunny'}[input()])
