All 27 small cubes with an edge length of 1 centimeter (cm) were used to create one large cube with an edge length of 3 centimeters (cm). I painted all sides of the large cube and then separated it into smaller cubes. How many cubes have three painted faces?
8
var_a = 8
print(int(var_a))