A solution to the alien language problem