본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬]16341번 Horsemeet

by 현장 2021. 4. 20.

-코드

a, b = map(int, input().split())
c, d = map(int, input().split())
r = abs(a - c) + abs(b - d)

if r % 2 == 0:
    print("black")
else:
    print("white")