If AB = A and BA = B, where A and B are square matrices, then