In how many ways can all of the letters of the word PROBLEM be arranged if the arrangement must start with a consonant and end in a vowel?