#abc264b. B - Nice Grid

B - Nice Grid

Score : 200200 points

问题描述

在以下具有15行垂直和15列水平的网格中,打印从上数第 RR 行、从左数第 CC 列单元格的颜色。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

Print the color of the cell at the RR-th row from the top and CC-th column from the left in the following grid with 1515 vertical rows and 1515 horizontal columns.

Constraints

  • 1R,C151 \leq R, C \leq 15
  • RR and CC are integers.

Input

Input is given from Standard Input in the following format:

RR CC

Output

In the grid above, if the color of the cell at the RR-th row from the top and CC-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 33-rd row from the top and 55-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 44-th row from the top and 55-th column from the left is white. Thus, white should be printed.

update @ 2024/3/10 11:08:50