In how many ways can the letters of the word CLASSROOM be arranged such that the resulting word does not begin or end with a vowel?