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

~/algor $ cat problems/k-kundan-keyin

In k days

Easy 1000 ms 64 MB 24%
Share

Today is day $d$ of the week ($1$ — Monday, $2$ — Tuesday, …, $7$ — Sunday). Print as a word which day of the week it will be in $k$ days: Dushanba (Monday), Seshanba (Tuesday), Chorshanba (Wednesday), Payshanba (Thursday), Juma (Friday), Shanba (Saturday), Yakshanba (Sunday).

The days of the week around a circle; k steps forward from today, the needed day highlighted

Input

One line with two integers: $d$ and $k$.

Output

The name of the day, starting with a capital letter.

Note

$1 \le d \le 7$
$0 \le k \le 10^{9}$

Examples

Input #1
3 10
Output #1
Shanba
Input #2
7 1
Output #2
Dushanba

Sign in to submit a solution

Signing up is free and takes a minute.