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

~/algor $ cat problems/kun-nomidan-raqam

Day number from its name

Easy 1000 ms 64 MB 21%
Share

The name of a day of the week (in Uzbek) is given. Print its number: Dushanba — $1$, Seshanba — $2$, Chorshanba — $3$, Payshanba — $4$, Juma — $5$, Shanba — $6$, Yakshanba — $7$ (Monday through Sunday).

The days of the week with their numbers; the number of the given day highlighted

Input

One word — the name of the day, starting with a capital letter.

Output

One integer — the number of the day.

Note

The name is one of the seven above and is written exactly like that.

Examples

Input #1
Chorshanba
Output #1
3
Input #2
Yakshanba
Output #2
7

Sign in to submit a solution

Signing up is free and takes a minute.