'brute force' solution for 15_in_words