The six faces of a cube are painted in a manner that no two adjacent faces have the same colour. The three colours used in painting are red,blue and green. The cube is then cut into 36 smaller cubes in such a manner that 32 cubes are of one size and the rest of a bigger size and each of the bigger cubes has no red side. How many cubes in all have a red side?