#2941 word = input() count = 0 croatian_alphabets = ["c=", "c-", "dz=","d-","lj","nj","s=","z="] for alphabet in croatian_alphabets: word = word.replace(alphabet,"*") print(len(word)) #1316 n = int(input()) cnt = n for i in range(n): word = input() for j in range(len(word)-1): if word[j]==word[j+1]: pass elif word[j] in word[j+1:]: cnt-=1 break print(cnt)