In how many ways ,can the letters of the word NINETEEN be arranged so that neither all the vowels nor all the consonants are together