#K56922. Determine Tile Color
Determine Tile Color
Determine Tile Color
This problem requires you to determine the color of a tile based on its coordinates. Given two integers \(i\) and \(j\) representing the coordinates, you need to compute \(i + j\). If the sum \(i+j\) is even, the tile is assigned Color A, otherwise it is assigned Color B.
The rule is mathematically described as follows:
[ \text{Color} = \begin{cases} Color\ A, & \text{if } i+j \equiv 0 \pmod{2} \ Color\ B, & \text{if } i+j \equiv 1 \pmod{2} \end{cases} ]
Read the two integers from standard input and output the corresponding color to standard output.
inputFormat
The input consists of a single line containing two space-separated integers \(i\) and \(j\).
outputFormat
Output a single string: Color A if the sum \(i+j\) is even, and Color B if the sum is odd.
## sample0 0
Color A