pyq/2016/csat/59

A cube has all its faces painted with different colours. It is cut into smaller cubes of equal sizes such that the side of the small cube is one-fourth the big cube. The number of small cubes with only one of the sides painted is

(A) 32

(B) 24

(C) 16

(D) 8