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

~/algor $ cat problems/burj-belgisi

Zodiac sign

Easy 1000 ms 64 MB 24%
Share

A day $D$ and a month $M$ are given. Determine the zodiac sign of this date using the table (boundary dates are included):

Sign (output) Translation Dates
Qo'y Aries 21.03 – 20.04
Buzoq Taurus 21.04 – 20.05
Egizaklar Gemini 21.05 – 21.06
Qisqichbaqa Cancer 22.06 – 22.07
Arslon Leo 23.07 – 23.08
Parizod Virgo 24.08 – 23.09
Tarozi Libra 24.09 – 23.10
Chayon Scorpio 24.10 – 22.11
O'qotar Sagittarius 23.11 – 21.12
Tog' echkisi Capricorn 22.12 – 20.01
Qovg'a Aquarius 21.01 – 19.02
Baliq Pisces 20.02 – 20.03
The ranges of the twelve zodiac signs over the year and the given date

Input

One line with two integers: $D$ and $M$.

Output

The name of the sign, as in the table (for example, Qo'y, Tog' echkisi).

Note

$1 \le M \le 12$
$1 \le D \le 31$
The date is guaranteed to be valid.

Examples

Input #1
25 3
Output #1
Qo'y
Input #2
15 8
Output #2
Arslon

Sign in to submit a solution

Signing up is free and takes a minute.