303410: CF661B. Seasons
Memory Limit:64 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
B. Seasonstime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output
You are given a name of a month. Output the season of the year to which it belongs (based on Northern hemisphere).
InputThe input consists of a single string containing the name of one of the twelve months (January, February, March, April, May, June, July, August, September, October, November or December). The string is capitalized as given here.
OutputOutput a single string — the season of the year to which the given month belongs (winter, spring, summer or autumn). The name of the season should be in lowercase.
ExamplesInputAprilOutput
springInput
NovemberOutput
autumnNote
Assume that winter is December through February, spring is March through May, summer is June through August and autumn is September through November.