Masala #EHCDZ0EYDW
Eng yaqin son
Algobek bur kuni bir masala ko'rib qoldi, bu masalaning sharti shunday ekan: Siz n soni beriladi va n eng yaqin MUSBAT murakkab songa yaqinroq mi yo eng yaqin MUSBAT tub son ga yaqinroqmi. Algobek bu misolga algo topa olmadi shuning uchun sizdan yordan sorayapti
Birinchi qatorda n butun son.
Agar son tub songa yaqinroq bo'lsa TUB deb chiqaring aks holda esa MURAKKAB deb chiqaring.
# | input.txt | output.txt |
---|---|---|
1 |
1 |
TUB |
2 |
2 |
TUB |
3 |
4 |
MURAKKAB |
.