a cube is painted red on all faces . it is then cut into 27 equal smaller cubes . how many h cubes are painted on only 2 faces ?
n0 = 27.0
n1 = 2.0
t0 = 1.0 / 3.0
t1 = n0**min(t0, 5)
answer = t1 * 4.0
print(answer)