#abc264b. B - Nice Grid
B - Nice Grid
Score : points
问题描述
在以下具有15行垂直和15列水平的网格中,打印从上数第 行、从左数第 列单元格的颜色。
以上为通义千问 qwen-max 翻译,仅供参考。
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.
Sample Input 1
3 5
Sample Output 1
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.
Sample Input 2
4 5
Sample Output 2
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.
update @ 2024/3/10 11:08:50