Ljesnjak
Not so long ago, before operating systems were as powerful as they are today, computers (which often had turbo buttons on the exterior) couldn't handle certain letters of the Croatian alphabet. Programmers agreed to use two or threeletter substitutions as in this table: 
Write a program that calculates the number of letters in the given word.
InputThe first line contains a string of at most 100 characters. Only lowercase letters of the English alphabet and characters '–' and '=' will appear. The string will represent a word encoded as described above.
OutputOutput the number of letters in the input word.
Input
Output
dz=ak Output
3Input
Output
ljes=njak Output
6Submit solution
Sign in to submit a solution.