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++14 (GCC 5.4.1) (judge verdict: Accepted)

#include "iostream"
#include "cstdio"
#include "cstring"
#include "algorithm"
#include "queue"
#include "stack"
#include "cmath"
#include "utility"
#include "map"
#include "set"
#include "vector"
#include "list"
#include "string"
#include "cstdlib"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;
#define st first
#define nd second
#define exp 1e-8
#define lson l, m, rt << 1
#define rson m + 1, r, rt << 1 | 1
const int MOD = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const double PI = acos(-1.0);
const int MAXN = 20;
char s[MAXN];
int ans;
int main(int argc, char const *argv[])
{
	scanf("%s", s);
	if(s[0] != 'C') ans++;
	if(s[1] != 'O') ans++;
	if(s[2] != 'D') ans++;
	if(s[3] != 'E') ans++;
	if(s[4] != 'F') ans++;
	if(s[5] != 'E') ans++;
	if(s[6] != 'S') ans++;
	if(s[7] != 'T') ans++;
	if(s[8] != 'I') ans++;
	if(s[9] != 'V') ans++;
	if(s[10] != 'A') ans++;
	if(s[11] != 'L') ans++;
	if(s[12] != '2') ans++;
	if(s[13] != '0') ans++;
	if(s[14] != '1') ans++;
	if(s[15] != '6') ans++;
	printf("%d\n", ans);
	return 0;
}