Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/fasl-oylari

Months of a season

Easy 1000 ms 64 MB 18%
Share

The name of a season is given: qish (winter), bahor (spring), yoz (summer) or kuz (autumn). Print the numbers of the three months of this season in calendar order. Winter is December, January, February ($12$, $1$, $2$); spring is $3$, $4$, $5$; summer is $6$, $7$, $8$; autumn is $9$, $10$, $11$.

Twelve months around a circle split into four seasons; the three months of the given season highlighted

Input

One word — the name of the season.

Output

Three integers separated by spaces — the numbers of the months.

Note

The season is only qish, bahor, yoz or kuz.

Examples

Input #1
qish
Output #1
12 1 2
Input #2
yoz
Output #2
6 7 8

Sign in to submit a solution

Signing up is free and takes a minute.