There are 30 different paths that yield the word MADAM.