Each face of a cube is painted either red or blue, each with probability 1/2. The color of each face is determined independently. What is the probability that the painted cube can be placed on a horizontal surface so that the four vertical faces are all the same color?
<spanclass=′latex−bold′>(A)</span>41<spanclass=′latex−bold′>(B)</span>165<spanclass=′latex−bold′>(C)</span>83<spanclass=′latex−bold′>(D)</span>167<spanclass=′latex−bold′>(E)</span>21