$$A$$, $$B$$, $$C$$, and $$D$$ are lining up to take a picture. $$A$$ and $$B$$ can only stand on the far right or far left. How many different ways can they line up? 
Overseas Competition->Knowledge Point->Counting Modules->Permutations and Combinations->Combinations Overseas Competition->Knowledge Point->Counting Modules->Questions Involving Enumeration->Enumeration