Pusheen is organizing a party for her friends! She is producing signed cards and giving them to all of her friends. She decides to take pictures of them to archive later. The OCR on Pusheen's smartphone transcribed most of the card properly, but due to the nature of signatures, the OCR might have mangled her name. Help Pusheen figure out how many errors the OCR made!
The OCR produced a string of length 7. This string should be compared character by character with
and the number of errors is the number of indices where the OCR'ed string does not match with
will have length exactly 7.
will only have letters that can be found in
In tests worth 14 marks, the correct letters in the OCR will form a prefix of the string.
The first and only line of input contains a string , the string that the OCR produced.
Output, on a single line, the number of errors in the string.
In this example, the OCR worked properly and there were no errors!
In this example, the OCR somehow reversed Pusheen's name! Only the
h is in the correct location, so there are 6 errors.