The number of words that can be formed by using the letters of the word MATHEMATICS that start as well as end with T are