If all permutations of the letters of the word AGAIN are arranged in the order as in a dictionary. What is the 49th word?