Chess board – black square

Chess board – black square. Given a square of a chessboard. Print BLACK if it’s black and print WHITE otherwise.

The program receives two numbers from 1 to 8 each – the column and the row number of the square.

Input

Correct answer

1
1

BLACK

2
6

BLACK

1
2

WHITE

2
5

WHITE

3
5

BLACK

 

Leave a Reply

Your email address will not be published. Required fields are marked *