A cube is divided into 729 identical cubelets. Each cut is made parallel to some surface of the cube . But before doing that the cube is coloured with green colour on one set of adjacent faces ,red on the other set of adjacent faces, blue on the third set. So, how many cubelets are there which are painted with exactly one colour?
Answers:	A) 293	B) 294	C) 295	D) 296	E) 298
total cubes created are 729   so a plane of big cube has 9*9 cubes   out of that(n-2)*(n-2)=7*7= 
<gadget id="calculator">7*7</gadget>
<output>49</output>
49 are painted only one side   and a cube has six sides=6*49= 
<gadget id="calculator">6*49</gadget>
<output>294</output>
294   ANSWER:294
<result>B</result>
A cube is divided into 729 identical cubelets. Each cut is made parallel to some surface of the cube . But before doing that the cube is coloured with green colour on one set of adjacent faces ,red on the other set of adjacent faces, blue on the third set. So, how many cubelets are there which are painted with exactly one colour?