find Triangle words: Eular Problem