has written an English language parser and downloaded a bunch of problem statements. His goal is to create an artificial network that guesses the difficulty of programming problems.
's first problem is, "What is the best metric?"
He goes onto Wikipedia and finds an interesting term, hapax legomenon, which is defined as a word that appears once in the entire text. But his code crashes when counting the hapax legomena of one specific problem statement that consists of words. Can you help by providing this number?
The first line contains the integer .
Each of the next lines contains a word, which is a sequence of lowercase characters of the English alphabet. A word will not exceed characters in length.
Output a single integer, signifying the number of hapax legomena (words that appear once).
8 they are very very very slow and unresponsive