4. A school's chess team consists of 2 boys and 3 girls. A photographer is taking a group photo, requiring the 5 people to stand in a row, with girls in the middle and boys on the sides. The number of such arrangements is ( ).
(A) 2
(B) 4
(C) 5
(D) 6
(E) 12
\begin{array}{l}\text { 4. } E \text {. } \\ 2(3!)=12 .\end{array}