solve consonants problem in golang