#!/usr/bin/env python3


POS_MOVES = (
    (2, 1),
    (2, -1),
    (-2, 1),
    (-2, -1),
    (1, 2),
    (1, -2),
    (-1, -2),
    (-1, 2)
)


class Knight:


    def __init__(self, x, y, name):
        self.x = x
        self.y = y
        self.last_dist_from_op = -100


class Environment:


    def __init__(self, white, black):
        self.white = white
        self.black = black



    def play(self):
        last_dist = -100
        while True:
            # White
            best_move = None
            for move in POS_MOVES:
                _x = self.white.x + move[0]
                _y = self.white.y + move[1]
                dist = ( (self.black.x - _x) ** 2 + (self.black.y - _y) ** 2 ) ** 0.5
                if _x > 8 or _y > 8 or _x < 0 or _y < 0:
                    continue

                if best_move is None or dist < best_move["dist"]:
                    best_move = {
                        "dist": dist,
                        "_x": _x,
                        "_y": _y
                    }

            self.white.x = best_move["_x"]
            self.white.y = best_move["_y"]

            if best_move["dist"] == self.white.last_dist_from_op:
                return "white"

            self.white.last_dist_from_op = best_move["dist"]
            print("White pos, x: {}, y: {}".format(self.white.x, self.white.y))
            if self.white.x == self.black.x and self.black.y == self.white.y:
                return "white"

            # black
            best_move = None
            for move in POS_MOVES:
                _x = self.black.x + move[0]
                _y = self.black.y + move[1]
                dist = ( (self.white.x - _x) ** 2 + (self.white.y - _y) ** 2 ) ** 0.5
                if _x > 8 or _y > 8 or _x < 0 or _y < 0:
                    continue

                if best_move is None or dist < best_move["dist"]:
                    #print("Best move is {}, {}, {}".format(move, _x, _y))
                    best_move = {
                        "dist": dist,
                        "_x": _x,
                        "_y": _y
                    }

            #print("Dist: {}".format(best_move["dist"]))
            self.black.x = best_move["_x"]
            self.black.y = best_move["_y"]

            if best_move["dist"] == self.black.last_dist_from_op:
                return "black"

            self.black.last_dist_from_op = best_move["dist"]
            print("Black pos, x: {}, y: {}".format(self.black.x, self.black.y))
            if self.white.x == self.black.x and self.black.y == self.white.y:
                return "black"



def main():
    white_coord = [int(i) for i in input().split()]
    black_coord = [int(i) for i in input().split()]

    white = Knight(
        white_coord[0],
        white_coord[1],
        "white"
    )

    black = Knight(
        black_coord[0],
        black_coord[1],
        "black"
    )

    env = Environment(white, black)
    print(env.play())


if __name__ == '__main__':
    main()
