Masala #IEV1GGYEHW
Shaxmat doskasi
Sizga shaxmat doskasidagi X va Y kordinatalari beriladi . Siz esa sizga berilagan hujaya oq yoki qora ekanligini topishdan iborat . X bu shaxmat doskasining pastki kordiinatasi , Y esa balandligi
.
Kirish faylining yagona satrida probel bilan ajratilgan holda X va Y \((1 \le X,Y \le 8)\) kordinatalari kiritiladi
Agar sizga berilgan kordinatada turgan hujayra oq bulsa ″White″ deb chop eting agar qora bulsa ″Black″ deb chop eting
# | input.txt | output.txt |
---|---|---|
1 |
1 2 |
White |
2 |
8 8 |
Black |