A King is protected by 12 guards in his castle as indicated. There are 4 guards needed for each of the 4 walls of his castle. The guards on the corners protect 2 walls.
The King then decides to take 4 guards off duty and to move the remaining guards around so that the security is still 4 guards per wall. What did he do?