Two male singers, Paul and Sam; two female singers, Rita and Mita; two male comedians, Topu and Wahed; and two female comedians, Kate and Lira, are the eight entertainers who are to perform at the National Theater on a certain night. Each entertainer is to perform alone and only once that night. The entertainers may perform in any order that conforms to the followings restrictions:
[Dhaka Bank MTO-2011 : 2011]