A cube of side 8 cm is painted red, blue and yellow on opposite faces and is then cut into cubes of 1 cm side each. How many cubes have colour on at least one face?