We have to consider all the ways/arrangements in which Adam, Bob & Charlie do not have to compromise to seat on the chairs they don't like.
Total Number of arrangements without any restrictions = 6!= 720
We have to exclude the case when at-least one of Adam, Bob or Charlie has to seat on the chair he doesn't like.
This is infact the union of set containing the set A (when Adam has to sit on Chair 1), set B (when Bob has to sit on Chair 1),and set C (when charlie has to sit on Chair 3).
n(AUBUC)= n(A) + n(B) + n(C) – n(A and B) – n(B and C) – n(C and A) + n(A and B and C)
Now , n(A and B and C) = 3! = 6 ( as these 3 are fixed on their chair, it is simply the arrangement of remaining 3)
Similarly n(A and B) = 4!= 24, n(B and C) = 4!= 24, n(C and A) = 4!= 24
n(A) = 5! =120 ( only position of A fixed, remaining 5 can be arranged in 5!)
n(B) = 5! =120 ( only position of B fixed, remaining 5 can be arranged in 5!)
n(C) = 5! =120 ( only position of C fixed, remaining 5 can be arranged in 5!)
So, n(AUBUC) = 120+120+120-24-24-24+6 = 294
Hence the number of arrangements in which atleast one of A, B or C has to sit on chair that he doesnt like = 294
So required arrangements = total ways (without any restrictions) - number of arrangements in which atleast one of A, B or C has to sit on chair that he doesn't like.
= 6!-294 = 720-294 =426.
Answer = C