Bishops
Input: standard input
Output: standard output
Time Limit: 4 seconds
Memory Limit: 32 MB
A bishop is a piece used in thegame of chess which is played on a board of square grids. A bishop can only movediagonally from its current position and two bishops attack each other if oneis on the path of the other. In the following figure, the dark squaresrepresent the reachable locations for bishop B1 formits cur