In how many ways 10 examination papers be arranged so that the best and worst papers never come together.