Traditional games such as chess or checkers with slight modifications, are also played in Binary Casino. However, not many people play them, as these games are often referred to as boring. The visitors are more attracted to more dynamic games which cause adrenaline rushes. To attract players to traditional games, your boss wants to introduce a chess-based game called Horsemeet. The rules of the game are:
The game is played by two players on an
In order to check whether this game could be at least partially interesting to visitors you have
to determine the probability of victory for knights at given start positions. If the probabilities
of victory for both knights differ by less than
Input Specification
The first line of input contains two integers
Output Specification
Output the knight with a higher probability of victory: white
or black
. In case of equal
probabilities output draw
.
Sample Input 1
1 1
4 7
Sample Output 1
white
Sample Input 2
1 1
8 8
Sample Output 2
black
Comments