So I understand the task in the following way: -example: check if the word contains the letter "a", if yes increment the respective counter. So if every word (total of 10 inputs) has the letter 'a' in it then the output for the first line should be: a 10 . And my code does that, but the 3rd condition is not validated. Thanks in advance!