Problem:
Score : 100 points

Problem Statement

CODE FESTIVAL 2016 is going to be held. For the occasion, Mr. Takahashi decided to make a signboard.

He intended to write CODEFESTIVAL2016 on it, but he mistakenly wrote a different string S. Fortunately, the string he wrote was the correct length.

So Mr. Takahashi decided to perform an operation that replaces a certain character with another in the minimum number of iterations, changing the string to CODEFESTIVAL2016.

Find the minimum number of iterations for the rewrite operation.

Constraints

S is 16 characters long.

S consists of uppercase and lowercase alphabet letters and numerals.

Input

Inputs are provided from Standard Input in the following form.

S

Output

Output an integer representing the minimum number of iterations needed for the rewrite operation.

Sample Input 1

C0DEFESTIVAL2O16

Sample Output 1

2

The second character 0 must be changed to O and the 14th character O changed to 0.

Sample Input 2

FESTIVAL2016CODE

Sample Output 2

16

Solution in C (GCC 5.4.1) (judge verdict: Accepted)

#include<stdio.h>

int main()
{
	char a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;
	char s[16] = "CODEFESTIVAL2016";
	scanf("%c",&a);
	scanf("%c",&b);
	scanf("%c",&c);
	scanf("%c",&d);
	scanf("%c",&e);
	scanf("%c",&f);
	scanf("%c",&g);
	scanf("%c",&h);
	scanf("%c",&i);
	scanf("%c",&j);
	scanf("%c",&k);
	scanf("%c",&l);
	scanf("%c",&m);
	scanf("%c",&n);
	scanf("%c",&o);
	scanf("%c",&p);

	int ans = 0;
		if(a == s[0]){}
		else	ans++;
		if(b == s[1]){}
				else	ans++;
		if(c == s[2]){}
				else	ans++;
		if(d == s[3]){}
				else	ans++;
		if(e == s[4]){}
				else	ans++;
		if(f == s[5]){}
				else	ans++;
		if(g == s[6]){}
				else	ans++;
		if(h == s[7]){}
				else	ans++;
		if(i == s[8]){}
				else	ans++;
		if(j == s[9]){}
				else	ans++;
		if(k == s[10]){}
				else	ans++;
		if(l == s[11]){}
				else	ans++;
		if(m == s[12]){}
				else	ans++;
		if(n == s[13]){}
				else	ans++;
		if(o == s[14]){}
				else	ans++;
		if(p == s[15]){}
				else	ans++;


	printf("%d\n",ans);
	return 0;
}