The faces of a cube are painted so that any two faces which have an edge in common are painted different colors. What is the smallest number of colors required? 2 3 4 5 6