Priya painted each of the nine squares shown black, white or grey. What is the smallest number of squares that she would need to repaint so that no two squares with a common side are painted in the same colour?
(A) (B) (C) (D) (E)

Priya painted each of the nine squares shown black, white or grey. What is the smallest number of squares that she would need to repaint so that no two squares with a common side are painted in the same colour?
(A) (B) (C) (D) (E)
