If by arranging the letters of the word NABMODINT, the name of a game is formed,what are the first and the last letters of the word so formed ?