Task
Time limit: 1000 ms,
Memory limit: 256 Mb

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

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: