Preparando MOJI

Seasons

2000ms 65536K

Description:

You are given a name of a month. Output the season of the year to which it belongs (based on Northern hemisphere).

Input:

The 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.

Output:

Output 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.

Sample Input:

April

Sample Output:

spring

Sample Input:

November

Sample Output:

autumn

Note:

Assume that winter is December through February, spring is March through May, summer is June through August and autumn is September through November.

Informação

Codeforces

Provedor Codeforces

Código CF661B

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 09:05:54

Relacionados

Nada ainda