There are four basketball players A,B,C,D. Initially the ball is with A. The ball is always passed from one person to a different person.
In how many ways can the ball come back to A after <spanclass=′latex−bold′>seven</span> moves? (for example A→C→B→D→A→B→C→A, or A→D→A→D→C→A→B→A).