Farz0l1x

Untitled

Oct 8th, 2022
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. m, n, i, j, c = map(int, input().split())
  2. if m % 2 == 0 or n % 2 == 0:
  3.     print('equal')
  4. elif (i + j) % 2 == 0 and c == 0:
  5.     print('black')
  6. else:
  7.     print('white')
Advertisement
Add Comment
Please, Sign In to add comment