Module: Workshop-2 "Chess and chess players". Conditional operator


Problem

4 /13


Season

Problem

Willy is a strong chess player, but luck smiles at him only at certain times of the year. Having received an invitation to play in a certain tournament, Willy wants to immediately display the time of year at which the tournament will be held. To do this, he wants to write a program. Do it for him.
Write a program that receives the month number from the keyboard and outputs the name of the corresponding season (winter, spring, summer, autumn) or an error message (error).

Example 1
Input
5
Output
spring

Example 2
Input
20
Output
error