If the smaller cubes having both black and green coloured faces are removed, then how many cubes will remain?