In how many ways 9 mathematics papers can be arranged, so that the best and the worst paper are always together