Plan each move carefully to take the three balls to the crosses; put the circles on the colour that corresponds to the door you want to open. To change balls, press "Ctrl".