atcoder#ABC264B. [ABC264B] Nice Grid
[ABC264B] Nice Grid
Score : points
Problem Statement
Print the color of the cell at the -th row from the top and -th column from the left in the following grid with vertical rows and horizontal columns.
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
In the grid above, if the color of the cell at the -th row from the top and -th column from the left is black, then print black
; if the cell is white, then print white
. Note that the judge is case-sensitive.
3 5
black
In the grid above, the cell at the -rd row from the top and -th column from the left is black. Thus, black
should be printed.
4 5
white
In the grid above, the cell at the -th row from the top and -th column from the left is white. Thus, white
should be printed.