A chess king is said to attack all squares one step away from it, horizontally, vertically, or diagonally. Suppose a white king and a black king are placed on different squares of a grid so that they do attack each other. In how many ways can this be done? 
36
40
44
48
52