There are 8 students appearing in an examination of which 3 have to appear in a Mathematics paper and the remaining 5 in different subjects. In how many ways can they be made to sit in a row if the candidates in Mathematics cannot sit next to each other?
(a) 14400
(b) 16400
(c) 15400
(d) 17400