Problem #PRU-100550

Problems Combinatorics

Problem

\(10\) people including Alice, Bob and Charlie are waiting in a queue. How many distinct line-ups are there such that none of the mentioned three are next in the queue to both of the other two?