Cube Logic Puzzle

Based on the rules, what is the number on the face marked with '?'

Each cube has faces numbered 1-6. Opposite faces sum to 7. When two cubes touch, their contacting faces sum to 8.

Loading 3D Model...