Chessboard#10277

Chessboard

1 секунда
256 мегабајтова
Врло лако

Given an 8\times 8 chessboard.

Given the coordinates of a cell, determine its color.

Улаз

The first line contains two characters: the first is a letter from «A» to «H», and the second is a digit from «1» to «8».

Излаз

Output «BLACK» if the cell is black; otherwise output «WHITE».

Примери

Пример 1

Loading
Loading

Пример 2

Loading
Loading

Пример 3

Loading
Loading