The surface of a $$7\times5\times14$$ cuboid is painted yellow. The cuboid is cut into $$490$$ small cubes of the same size. How many small cubes have exactly three faces that are painted yellow? 
Overseas Competition->Knowledge Point->Counting Modules->Law of Addition and Multiplication->Coloring Problems