Bob's Game | HackerRank
Find the number of winning moves of Bob in a game on a generalized chessboard.