Each of the History students refuses to stand next to any English students, or to the other History student.
No math student will stand next to any other math student.
The English students will stand anywhere.
What is a possible arrangement for the students?
Standing Room Only