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 14 th character O changed to 0 .       Sample Input 2 FESTIVAL2016CODE      Sample Output 2 16

Solution (Python):

"""
A - Signboard
https://atcoder.jp/contests/code-festival-2016-qualb/tasks/codefestival_2016_qualB_a

"""
import sys


def solve(s):
    ans = 0
    for ch1, ch2 in zip(s, 'CODEFESTIVAL2016'):
        if ch1 != ch2:
            ans += 1
    return ans


def main(args):
    S = input()
    ans = solve(S)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):
s = input()
c = 0
i = 0
test = 'CODEFESTIVAL2016'
for k in s:
    if k != test[i]:
        c += 1
    i += 1

print(c)

Solution (Python):
S = input()
S_right = 'CODEFESTIVAL2016'

cnt = 0
for si, sri in zip(S, S_right):
    if si != sri:
        cnt += 1

print(cnt)

Solution (Python):
S = input()
T = 'CODEFESTIVAL2016'

cnt = 0
for i in range(len(T)):
	if S[i:i+1]!=T[i:i+1]:
		cnt += 1

print(cnt)

Solution (Python):
t = "CODEFESTIVAL2016"
s = input()
ans = 0
for i in range(len(s)):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
s = input()
code = 'CODEFESTIVAL2016'
count = 0

for i in range(16):
    if s[i] != code[i]:
        count += 1

print(count)

Solution (Python):
S = input()
T = "CODEFESTIVAL2016"
ans = 0
for i in range(len(S)):
    if S[i] != T[i]:
        ans += 1
print(ans)

Solution (Python):
s=input()
a=0
for i in range(16):
    if s[i]!="CODEFESTIVAL2016"[i]:a+=1
print(a)

Solution (Python):
s = input()
cnt = 0
m = "CODEFESTIVAL2016"
for i in range(len(s)):
    if s[i]!=m[i]:
        cnt+=1
print(cnt)

Solution (Python):
S = input()
x = "CODEFESTIVAL2016"
cnt = 0
for i in range(len(S)):
  if S[i] != x[i]:
    cnt += 1
print(cnt)

Solution (Python):
s=input()
cnt=0
for i in range(len(s)):
  if "CODEFESTIVAL2016"[i]!=s[i]:
    cnt+=1
print(cnt)

Solution (Python):
S = 'CODEFESTIVAL2016'
ans = 0
s = input()
for C, c in zip(S, s):
    if C != c:
        ans += 1
print(ans)

Solution (Python):
w="CODEFESTIVAL2016"
s=input()
ans=0
for i in range(16):
    if w[i]!=s[i]: ans+=1
print(ans)

Solution (Python):



def quicksort(seq):
    if len(seq) < 1:
        return seq
    pivot = seq[0]
    left = []
    right = []
    for x in range(1, len(seq)):
        if seq[x] <= pivot:
            left.append(seq[x])
        else:
            right.append(seq[x])
    left = quicksort(left)
    right = quicksort(right)
    foo = [pivot]
    return (left + foo + right)




cnt = 0
cf2016 = "CODEFESTIVAL2016"
s = input()
for i in range(0,len(cf2016)):
    if cf2016[i] != s[i]:
        cnt = cnt + 1
print(cnt)

Solution (Python):
S = input()
SS = 'CODEFESTIVAL2016'
ans = 0
for i in range(len(S)):
    if S[i] == SS[i]:
        pass
    else:
        ans += 1
print(ans)

Solution (Python):
TRUE_STR = "CODEFESTIVAL2016"
s = input()
ans = 0
for i in range(len(TRUE_STR)):
    if s[i] != TRUE_STR[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
T = "CODEFESTIVAL2016"
ans = 0
for i in range(16):
  if S[i] != T[i]:
    ans += 1
print(ans)

Solution (Python):


import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

s=input()
t='CODEFESTIVAL2016'

cnt=0
for i in range(len(s)):
    if s[i]!=t[i]:
        cnt+=1
print(cnt)

Solution (Python):
s= input()
ss ="CODEFESTIVAL2016"
t = 0
for i in range(len(ss)):
  if s[i]!=ss[i]:
    t +=1
print(t)

Solution (Python):
s=input()
s2='CODEFESTIVAL2016'
count=0
for i in range(16):
  if s[i]!=s2[i]:
    count+=1
print(count)

Solution (Python):
S = input()
r = 'CODEFESTIVAL2016'
cnt = 0
for i in range(16):
    if S[i] != r[i]:
        cnt += 1
print(cnt)

Solution (Python):
print(sum(a!=b for a,b in zip('CODEFESTIVAL2016',input())))

Solution (Python):
S = list(input())
sei = list('CODEFESTIVAL2016')
count = 0
for i in range(16):
    if S[i] != sei[i]:
        count += 1
print(count)

Solution (Python):
S = input()
code = "CODEFESTIVAL2016"
ans = 0
for i in range(len(S)):
  if code[i] != S[i]:
    ans += 1
print(ans)

Solution (Python):
s = input()
S = "CODEFESTIVAL2016"
count = 0
for i in range(16):
    if s[i] != S[i]:
        count+=1
print(count)

Solution (Python):
s = str(input())
a = "CODEFESTIVAL2016"
b = 0
for i in range(len(s)):
    if s[i] != a[i]:
        b += 1
print(b)

Solution (Python):
A = "CODEFESTIVAL2016"
S = [i for i in input()]
A = [i for i in A]
count=0
for (s,a) in zip(S,A):
    if s!=a:
       count+=1
print(count)

Solution (Python):
s=input()
print(len([x for x,y in zip(s,'CODEFESTIVAL2016') if x!=y]))

Solution (Python):
a=input()
b='CODEFESTIVAL2016'
ans=0
for i in range(16):
  ans+=(a[i]!=b[i])
print(ans)

Solution (Python):
s = input()
r = "CODEFESTIVAL2016"

ans = 0

for si, ri in zip(s,r):
  if si != ri:
    ans += 1
    
print(ans)

Solution (Python):
S = input()
c = 'CODEFESTIVAL2016'
ans = 0
for i in range(16):
    if c[i] != S[i]:
        ans += 1

print(ans)

Solution (Python):
s = list(input())
t = 'CODEFESTIVAL2016'
cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
S = input()
correct = "CODEFESTIVAL2016"
cnt = 0
for i in range(len(S)):
    if S[i] == correct[i]:
        cnt += 1

print(len(S) - cnt)

Solution (Python):
s,r,a=input(),"CODEFESTIVAL2016",0
for i in range(16):
  if s[i]!=r[i]:a+=1
print(a)

Solution (Python):
s = input()
t = 'CODEFESTIVAL2016'
ans=0
for i in range(len(t)):
    if s[i]!=t[i]: ans+=1
print(ans)

Solution (Python):
S = input()
A = "CODEFESTIVAL2016"

ans = 0
for i in range(16):
  if S[i] != A[i]:
    ans += 1
print(ans)

Solution (Python):
s=input()
code="CODEFESTIVAL2016"
cnt=0
for i in range(len(s)):
    if s[i]!=code[i]:
        cnt+=1
print(cnt)

Solution (Python):
S = input()
correct = "CODEFESTIVAL2016"
cnt = 0
for s, c in zip(S, correct):
  if(s != c):
    cnt += 1
print(cnt)

Solution (Python):
s=input()
code="CODEFESTIVAL2016"
cnt=0
for i in range(len(s)):
    if s[i]!=code[i]:
        cnt+=1
print(cnt)

Solution (Python):
s = input()
cor = "CODEFESTIVAL2016"
cnt = 0
for i in range(16):
  if s[i] != cor[i]:
    cnt += 1
print(cnt)

Solution (Python):
S=input()
T='CODEFESTIVAL2016'
cnt=0

for i, w in enumerate(T):
    if w != S[i]:
        cnt+=1
print(cnt)

Solution (Python):
S = input()

ans = 0
for s1, s2 in zip(S, "CODEFESTIVAL2016"):
    if s1 != s2:
        ans += 1

print(ans)
print()

Solution (Python):
S = input()
tmp = 'CODEFESTIVAL2016'

res = 0
for i in range(len(S)):
    if S[i] != tmp[i]:
        res += 1
        
print(res)

Solution (Python):
import numpy as np
s = np.array(list(input()))
a = np.array(list("CODEFESTIVAL2016"))
print(len(s[s != a]))

Solution (Python):
s0='CODEFESTIVAL2016'
s=input()
c=0
for i in range(len(s)):
  if s0[i]!=s[i]:
    c+=1
print(c)

Solution (Python):
a = input()
s = 0
for i,j in zip(a,"CODEFESTIVAL2016"):
  if i!=j:s+=1
    
print(s)

Solution (Python):
Ss = input()

print(sum([S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')]))

Solution (Python):
s=input();print(sum(s[i]!="CODEFESTIVAL2016"[i]for i in range(len(s))))

Solution (Python):
s = str(input())
cnt = 0
S = "CODEFESTIVAL2016"
for i in range(len(s)):
    if s[i] != S[i]:
        cnt += 1
print(cnt)

Solution (Python):
s=input();ans=0
if s[0]!='C':
    ans+=1
if s[1]!='O':
    ans+=1
if s[2]!='D':
    ans+=1
if s[3]!='E':
    ans+=1
if s[4]!='F':
    ans+=1
if s[5]!='E':
    ans+=1
if s[6]!='S':
    ans+=1
if s[7]!='T':
    ans+=1
if s[8]!='I':
    ans+=1
if s[9]!='V':
    ans+=1
if s[10]!='A':
    ans+=1
if s[11]!='L':
    ans+=1
if s[12]!='2':
    ans+=1
if s[13]!='0':
    ans+=1
if s[14]!='1':
    ans+=1
if s[15]!='6':
    ans+=1
print(ans)

Solution (Python):
a=input()
ans="CODEFESTIVAL2016"
diff=0
for i in range(16):
  if a[i]!=ans[i]:
    diff+=1
print(diff)

Solution (Python):
s = input()
query ='CODEFESTIVAL2016'
ct = 0
for i in range(len(s)):
  if s[i] != query[i]:
    ct += 1
print(ct)

Solution (Python):
s = input()
a = "CODEFESTIVAL2016"
count = 0
for i in range(len(s)):
    if s[i]!=a[i]:
        count+=1
print(count)

Solution (Python):
h=input()
b="CODEFESTIVAL2016"
c=0
for i in range(16):
    if h[i]!=b[i]:
        c+=1
print(c)

Solution (Python):
s=input()
t="CODEFESTIVAL2016"
ret=0
for i in range(len(s)):
  if s[i] != t[i]:
    ret+=1
print(ret)

Solution (Python):
T="CODEFESTIVAL2016"
S=input()
N=len(S)
ans=0
for i in range(N):
    if S[i]!=T[i]:
        ans+=1
print(ans)

Solution (Python):
S = input()
ans = "CODEFESTIVAL2016"
a = 0
for i in range(len(S)):
  if S[i] != ans[i]:
    a += 1
print(a)

Solution (Python):
s="CODEFESTIVAL2016"
t=input()
a=0
for i in range(16):
  if not(s[i]==t[i]):
    a+=1
print(a)

Solution (Python):
S = input()
ans = 0
for i in range(16):
    if S[i] != 'CODEFESTIVAL2016'[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()

ans = 16

A = 'CODEFESTIVAL2016'

for i in range(16):
    if S[i] == A[i]:
        ans = ans-1
        
print(ans)

Solution (Python):
S = input()
A = 'CODEFESTIVAL2016'

cnt = 0
for i in range(16):
  if S[i] != A[i]:
    cnt += 1
    
print(cnt)

Solution (Python):
s = input()
t = 'CODEFESTIVAL2016'
ans = 0
for i in range(16):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
a = "CODEFESTIVAL2016"
s = input()
c = 0
for i in range(16):
  if not a[i] == s[i]:
    c += 1
print(c)

Solution (Python):
L = list(input())
T = list("CODEFESTIVAL2016")
ans = 0
for i in range(16) :
    if L[i] != T[i] :
        ans += 1
print(ans)

Solution (Python):
s=input()
t="CODEFESTIVAL2016"
ans=0
for i in range(16):
    if s[i]!=t[i]:
        ans+=1
print(ans)

Solution (Python):
s = input()
a = 'CODEFESTIVAL2016'
ans = 0
for i in range(0,16):
    if s[i]!=a[i]:
        ans += 1
print(ans)

Solution (Python):
S=input()
ans = 0
for i, x in enumerate("CODEFESTIVAL2016"):
    if S[i] != x:
        ans += 1
print(ans)

Solution (Python):
S = input()

ch = 'CODEFESTIVAL2016'

ans = 0
for i in range(len(ch)):
    if S[i] != ch[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
ref = "CODEFESTIVAL2016"

res = 0
for s, r in zip(S, ref):
  if s != r:
    res += 1
    
print(res)

Solution (Python):
s=input()
x='CODEFESTIVAL2016'
c=0
for i in range(16):
  if s[i]!=x[i]:c+=1
print(c)

Solution (Python):
s = str(input())
ans = 0
correct_list = list("CODEFESTIVAL2016")
for i in range(0,16):
    if s[i] != correct_list[i]:
        ans += 1
print(ans)

Solution (Python):
a = 'CODEFESTIVAL2016'
cnt = 0
for x, y in zip(input(), a):
    if x != y:
        cnt += 1
print(cnt)

Solution (Python):
s=input()
ans=0
for i,j in zip(s,'CODEFESTIVAL2016'):
    if i!=j:ans+=1
print(ans)

Solution (Python):


s = input()
code = 'CODEFESTIVAL2016'
ans = 0
for i in range(len(s)):
    if s[i] != code[i]:
        ans += 1
print(ans)

Solution (Python):
print(sum(a != b for a, b in zip(input(), 'CODEFESTIVAL2016')))

Solution (Python):
def solve(s):
    return list(map(str.__eq__, list(s), list('CODEFESTIVAL2016'))).count(False)

if __name__ == '__main__':
    s = input()
    print(solve(s))

Solution (Python):
a=list(input())
b=list('CODEFESTIVAL2016')
s=0
for i,j in zip(a,b):
  s+=1 if i!=j else 0
print(s)

Solution (Python):
S = input()
R = 'CODEFESTIVAL2016'
k = 0
for i in range(len(S)):
  if (S[i] != R[i]):
    k += 1
print(k)

Solution (Python):
S = input()
a = "CODEFESTIVAL2016"
cnt = 0
for i in range(len(S)):
    if S[i] != a[i]:
        cnt += 1
print(cnt)

Solution (Python):
s = input()
c = "CODEFESTIVAL2016"
ans = 0
for i in range(16):
    if s[i] != c[i]:
        ans += 1
print(ans)

Solution (Python):
S1 = input()
S2 = "CODEFESTIVAL2016"
ans = 0
for i in range(16):
  if S1[i] != S2[i]:
    ans+=1
print(ans)

Solution (Python):
print(sum([1 if i!=j else 0 for i,j in zip(input(),"CODEFESTIVAL2016")]))

Solution (Python):
string = 'CODEFESTIVAL2016'
s = input()
a = 0

for i in range(len(s)):
    if s[i] != string[i]:
        a += 1
print(a)

Solution (Python):
s=input()
t=0
for i in range(len(s)):
      if "CODEFESTIVAL2016"[i]!=s[i]:
            t+=1
print(t)

Solution (Python):
s = input()
tar = 'CODEFESTIVAL2016'
res = 0
for i in range(len(s)):
    if s[i] != tar[i]:
        res +=1
print(res)

Solution (Python):
s1 = 'CODEFESTIVAL2016'
s2 = raw_input()
ans = 0
for i in range(len(s1)):
    ans += [0, 1][s1[i] != s2[i]]
print ans

Solution (Python):
s1 = 'CODEFESTIVAL2016'
s2 = raw_input()
ans = 0
for i in range(len(s1)):
    ans += [0, 1][s1[i] != s2[i]]
print ans

Solution (Python):
s=raw_input()
t='CODEFESTIVAL2016'
c=0
for i in range(16):
  if s[i] != t[i]:
    c += 1
print c

Solution (Python):
t=list(input());print(sum([1for i in range(16)if'CODEFESTIVAL2016'[i]!=t[i]]))

Solution (Python):
s='CODEFESTIVAL2016'
res=0
for i,c in enumerate(input()):
  res += c!=s[i]
print(res)

Solution (Python):
S = input()
A = "CODEFESTIVAL2016"
ans = 0
for s, a in zip(S, A):
    ans += (s != a)

print(ans)

Solution (Python):
s = input()
correct_str = 'CODEFESTIVAL2016'

cnt = 0
for i in range(len(correct_str)):
    if correct_str[i] != s[i]:
        cnt += 1
print(cnt)

Solution (Python):
SS = list("CODEFESTIVAL2016")
S = list(input())
c = 0
for i in range(16):
	if SS[i] != S[i]:
		c += 1
print(c)

Solution (Python):
a = "CODEFESTIVAL2016"
b = raw_input()
r = 0
for i in xrange(len(a)):
	if a[i] != b[i]:
		r += 1
print r

Solution (Python):

s = input()
origin = list('CODEFESTIVAL2016')
ans = 0

for index, ch in enumerate(list(s)):
    if origin[index] != ch:
        ans += 1

print(ans)

Solution (Python):
s=input()
right="CODEFESTIVAL2016"
a=0
for i in range(len(s)):
    if s[i]!=right[i]:
        a=a+1
print(a)

Solution (Python):
s = input()
t = 'CODEFESTIVAL2016'
ans = 0

for i in range(len(s)):
  if not s[i] == t[i]:
    ans += 1

print(ans)

Solution (Python):
s=input()
a=0
b='CODEFESTIVAL2016'
for i in range(16):
    if s[i]!=b[i]:
        a+=1
print(a)

Solution (Python):
S = input()
T = "CODEFESTIVAL2016"
ans = 0
for k in range(16):
    if S[k] != T[k]:
        ans += 1

print(ans)

Solution (Python):
S = input().strip()
ans = 0
for c1,c2 in zip(S,'CODEFESTIVAL2016'):
  if c1 != c2:
    ans += 1
print(ans)

Solution (Python):
s=input()
correct = "CODEFESTIVAL2016"
ans = 0
for i in range(len(s)):
    ans += correct[i]!=s[i]
print(ans)

Solution (Python):
s = input().rstrip()
t = 'CODEFESTIVAL2016'
count = 0
for i in range(len(s)):
  if s[i] != t[i]:
    count += 1
print(count)

Solution (Python):
s = input()
x,ans = "CODEFESTIVAL2016",0
for i in range(16):
  if x[i]!=s[i]: ans += 1
print(ans)

Solution (Python):





if __name__ == '__main__':
    original = 'CODEFESTIVAL2016'
    s = input()
    count = 0

    for si, original_s in zip(s, original):
        if si != original_s:
            count += 1

    print(count)

Solution (Python):
s=input()
ss="CODEFESTIVAL2016"
count=0
for i in range(16):
    if s[i]!=ss[i]:
        count+=1

print(count)

Solution (Python):
ans = 0

for i, j in zip(input(), 'CODEFESTIVAL2016'):
    if i != j:
        ans += 1

print(ans)

Solution (Python):
s="CODEFESTIVAL2016"
t=input()
a=0
for c, d in zip(s, t):
  if c != d:
    a += 1
print(a)

Solution (Python):
s = input()
s2 = "CODEFESTIVAL2016"

ans=0
for i in range(16):
    if s[i]!=s2[i]: ans+=1
        
print(ans)

Solution (Python):
b ='CODEFESTIVAL2016'

a = input()

count = 0
for i in range(16):
    if a[i] != b[i]:
        count += 1
print(count)

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][0]
str="CODEFESTIVAL2016"


cnt=0
for i in range(16):
    
    if s[i]!=str[i]:
    
        cnt+=1
        
print(cnt)

Solution (Python):
s=input()
co="CODEFESTIVAL2016"
cou=0
for i in range(len(s)):
  if(s[i]!=co[i]):cou+=1
print(cou)

Solution (Python):
s = str(input())
ss = "CODEFESTIVAL2016"
cou = 0
for i in range(16):
  if s[i] != ss[i]:
    cou += 1
print(cou)

Solution (Python):
def main():
    S = input()

    right = "CODEFESTIVAL2016"
    ans = sum(c1 != c2 for c1, c2 in zip(S, right))
    print(ans)

if __name__ == '__main__':
    main()

Solution (Python):
S=input()
T="CODEFESTIVAL2016"
N=0
for i in range(16):
    if S[i]!=T[i]:
        N+=1
print(N)

Solution (Python):
s=list('CODEFESTIVAL2016');t=list(input());print(sum([1 for i in range(16) if s[i]!=t[i]]))

Solution (Python):
print(sum(a!=b for a,b in zip('CODEFESTIVAL2016',input())))

Solution (Python):
print(sum([1 if a!=b else 0 for a,b in zip('CODEFESTIVAL2016',input())]))

Solution (Python):





def main():
    T = "CODEFESTIVAL2016"

    S = input()

    ans = sum(cs != ct for cs,ct in zip(S,T))
    print(ans)

if __name__ == "__main__": main()

Solution (Python):
s = input()
cf = "CODEFESTIVAL2016"
t = 0
for i in range(16):
    t += 1 if s[i] != cf[i] else 0
print(t)

Solution (Python):
s=input();a=0
for i in range(16):a+=[0,1][s[i]!='CODEFESTIVAL2016'[i]]
print(a)

Solution (Python):
print(sum([1 if a!=b else 0 for (a,b) in zip(input(),'CODEFESTIVAL2016')]))

Solution (Python):

S = input()
print(sum([S[i] != 'CODEFESTIVAL2016'[i] for i in range(16)]))

Solution (Python):
s=input()
t='CODEFESTIVAL2016'
a=0
for i in range(16):
  if s[i]!=t[i]:
    a+=1
print(a)

Solution (Python):
def solve():
    S = input()
    ans = 0
    for i, j in zip(S, "CODEFESTIVAL2016"):
        if i != j:
            ans += 1
    print(ans)
        
solve()

Solution (Python):
S = input()
C = "CODEFESTIVAL2016"
ret = 0
 
for s, c in zip(S, C):
    ret += 0 if s==c else 1
 
print(ret)

Solution (Python):
S = input()
C = "CODEFESTIVAL2016"
ret = 0

for s, c in zip(S, C):
    ret += 0 if s==c else 1

print(ret)

Solution (Python):
def solve():
    S = list(input())
    answer = list("CODEFESTIVAL2016")
    cnt = 0

    for s, a in zip(S, answer):
        if s != a:
            cnt += 1
        else:
            pass

    print(cnt)


solve()

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
gosa = 1.0 / 10**10
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()


def main():
    t = 'CODEFESTIVAL2016'
    s = S()
    r = 0
    for i in range(16):
        if t[i] != s[i]:
            r += 1
    return r


print(main())

Solution (Python):
S = raw_input()
print sum(s!=t for s, t in zip(S, 'CODEFESTIVAL2016'))

Solution (Python):
print(len(list(filter(lambda a:a[0]!=a[1],zip(input(),'CODEFESTIVAL2016')))))

Solution (Python):
w="CODEFESTIVAL2016"
S=raw_input()
c=0
for i in xrange(16):
    if w[i] != S[i]: c+=1
print c

Solution (Python):
s=raw_input()
true_s='CODEFESTIVAL2016'

error_number=0

for i in range(16):
    if s[i]!=true_s[i]:
        error_number+=1


print error_number

Solution (Python):
a = "CODEFESTIVAL2016"
b = input()
c = 0
for d,e in zip(a,b):
    if d!=e:
        c+=1
print(c)

Solution (Python):
string=input()
string_correct=("CODEFESTIVAL2016")
count=0
for i in range(16):
    if string[i]!= string_correct[i]:
        count += 1
print(count)

Solution (Python):
correct_str_array = 'CODEFESTIVAL2016'
mistake_str_array = raw_input()
rewrite_count = 0
for n in range(0, 16):
    if(correct_str_array[n] != mistake_str_array[n]):
        rewrite_count = rewrite_count + 1
print rewrite_count

Solution (Python):
import sys


def dump(x):
    print >> sys.stderr, "{0}".format(x)

S = raw_input()
correct = "CODEFESTIVAL2016"
false_count = 0

for i in range(min(len(S), len(correct))):
    if S[i] != correct[i]:
        false_count += 1

print(false_count)

Solution (Python):
import bisect
import sys
import math
import itertools
sys.setrecursionlimit(10000)

INF = float('inf')


def i():
    return int(raw_input())
def ii():
    return map(int,raw_input().split(" "))
def s():
    return raw_input()
def ss():
    return raw_input().split(" ")
def slist():
    return list(raw_input())


def join(s):
    return ''.join(s)


def piter(n,m):
    return itertools.permutations(n,m)
def citer(n,m):
    return itertools.combinations(n,m)


def modc(a,b,m):
    c = 1
    for i in xrange(b):
        c = c * (a - i) % m
        c = c * modinv(i + 1,m) % m
    return c
 
def gcd(a, b):
    (x, lastx) = (0, 1)
    (y, lasty) = (1, 0)
    while b != 0:
        q = a // b
        (a, b) = (b, a % b)
        (x, lastx) = (lastx - q * x, x)
        (y, lasty) = (lasty - q * y, y)
    return (lastx, lasty, a)
 
def modinv(a, m):
    (inv, q, gcd_val) = gcd(a, m)
    return inv % m


def index(a, x):
    
    i = bisect_left(a, x)
    if i != len(a) and a[i] == x:
        return i
    return -1


def memoize(f):
    cache = {}
    def helper(*args):
        if args not in cache:
            cache[(args)] = f(*args)
        return cache[args]
    return helper

@memoize
def nck(a,b,m):
    b = min([a-b,b])
    if (b>a or b<0 or a<0):
        return 0
    elif a == 0:
        return 1
    return (nck(a-1,b-1,m)+nck(a-1,b,m)) % m

nh=zip([1,0,-1,0],[0,1,0,-1])



s=slist()
a=list("CODEFESTIVAL2016")
cnt=0
for j in range(16):
    if s[j]!=a[j]:
        cnt+=1

print cnt

Solution (Python):
s = input()
expected = "CODEFESTIVAL2016"
print(sum(1 for c in range(0,len(s)) if s[c] != expected[c]))

Solution (Python):
from sys import stdin
a = 'CODEFESTIVAL2016'
l = len(a)
b = stdin.readline().strip()
ans = 0
for i in xrange(l):
 if a[i]!=b[i]:
  ans+=1
print ans

Solution (Python):
print(sum(map(lambda a,b:a!=b,'CODEFESTIVAL2016',input())))

Solution (Python):

import operator
print(sum(map(operator.ne, 'CODEFESTIVAL2016',input())))

Solution (Python):
correct=list("CODEFESTIVAL2016")
wrong=list(input())
ans=0
for i in range(len(correct)):
    if correct[i]!=wrong[i]:
        ans+=1
print(ans)

Solution (Python):
s = input()
count = 0;
anser = "CODEFESTIVAL2016"
for i in range(0,16):
	if not s[i] == anser[i]:
		count+=1
print(count)

Solution (Python):



from __future__ import division, print_function, absolute_import, unicode_literals

correct = 'CODEFESTIVAL2016'
s = input()
cnt = 0
for a, b in zip(correct, s):
    if a != b:
        cnt += 1

print(cnt)

Solution (Python):
S = input()
T = "CODEFESTIVAL2016"

ans = 0
for s, t in zip(S, T):
    if s != t:
        ans += 1
print(ans)

Solution (Python):
str = "CODEFESTIVAL2016"
s =input()
cnt = 0
for i in range(16):
  if s[i]!=str[i]:
    cnt+=1
print(cnt)

Solution (Python):
cor_text="CODEFESTIVAL2016"
raw_text=raw_input()
a=list(raw_text)
b=list(cor_text)

time=0

for i in range(16):
    if a[i]!=b[i]:
        time+=1

print time

Solution (Python):
S = "CODEFESTIVAL2016" 
line = input()
 
sum = 0
for i in range(len(line)):
   if line[i] == S[i]:
        sum += 1
sum = 16 - sum
print(sum)

Solution (Python):
s = input()
correct_s = 'CODEFESTIVAL2016'

ans = 0
for i in range(16):
    if s[i] != correct_s[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
res = 0
target = "CODEFESTIVAL2016"
for index in range(len(S)):
    if S[index] != target[index]:
        res += 1
print(res)

Solution (Python):
def string_trnase(s):
    answer = 'CODEFESTIVAL2016'
    iters = 0
    s = list(s)
    for i in range(0, 16):
        if s[i] != answer[i]:
            iters += 1
    print(iters)



string_trnase(input())

Solution (Python):
s = input()

standard = 'CODEFESTIVAL2016'

count = 0
for i in range(16):
    if s[i] != standard[i]:
        count = count + 1
print(count)

Solution (Python):








rei = "CODEFESTIVAL2016"
s = input()

ans = 0
for i in range(len(s)):
	if rei[i] != s[i]:
		ans += 1

print(ans)

Solution (Python):



ts = 'CODEFESTIVAL2016'
S = input()
count = 0

for i in range(len(S)):
    if ts[i] is not S[i]:
        count += 1
print(count)

Solution (Python):



correct = "CODEFESTIVAL2016"
incNum = 0

inStr = input()

for i in range(0, len(inStr)):
	if correct[i] != inStr[i]:
		incNum += 1

print(incNum)

Solution (Python):
target = 'CODEFESTIVAL2016'

s = raw_input()
count = 0

for i in range(len(s)):
    if s[i] != target[i]:
        count += 1

print count

Solution (Python):

source = 'CODEFESTIVAL2016'
count = 0

s = raw_input()

for i in range(len(s)):
    if s[i] != source[i]:
        count += 1

if len(s) != len(source):
    count += abs(len(source) - len(s))

print count

Solution (Python):
ref = "CODEFESTIVAL2016"
inp = input()
cnt = 0
for r ,i in zip(ref, inp):
    if r != i:
        cnt += 1
print(cnt)

Solution (Python):
s=list(raw_input())
c=list("CODEFESTIVAL2016")
t=0
for i in range(16):
    if s[i]!=c[i]:
        t+=1
print(t)

Solution (Python):
s = input();

desired = "CODEFESTIVAL2016"

iterations = 0

for i, c in enumerate(s):
    if c != desired[i]:
        iterations += 1

print(iterations)

Solution (Python):
s=input()
c="CODEFESTIVAL2016"


count = 0
for i in range(16):
	if( s[i:i+1] != c[i:i+1] ):


		count += 1
print(count)

Solution (Python):

ans = 'CODEFESTIVAL2016'
s = input()

count = 0
for i in range(len(ans)):
    if ans[i] != s[i]:
        count += 1

print(count)

Solution (Python):
s = raw_input()
c = 0
answer = 'CODEFESTIVAL2016'
num_of_modified = 0
for str in s:
    if str != answer[c]:
      num_of_modified = num_of_modified + 1
    c = c + 1

print num_of_modified

Solution (Python):
s = str(input())
ans = 'CODEFESTIVAL2016'
i, j = 0, 0
while i < 16:
    if (s[i] != ans[i]):
        j += 1
    i += 1
print(str(j))

Solution (Python):
result = 0
S = str(input())
correct = "CODEFESTIVAL2016"
for i in range(16):
    if S[i] != str(correct[i]):
        S.replace(S[i], correct[i])
        result += 1
print(result)

Solution (Python):
S = raw_input()
S_right = 'CODEFESTIVAL2016' 
ans = 0
for s, s_r in zip(S, S_right):
    if s != s_r:
        ans += 1
print ans

Solution (Python):
s=input()
a="CODEFESTIVAL2016"
count=0
for a,b in zip(s,a) :
    if a != b :
        count+=1 
print(count)

Solution (Python):
before = input()
before = list(before)
after = list('CODEFESTIVAL2016')

sum = 0
for i in range(16):
        if before[i] != after[i]:
                sum += 1

print(sum)

Solution (Python):
correct = "CODEFESTIVAL2016"
wrong = raw_input()
count = 0

for i in range(16):
  if correct[i] != wrong[i]:
    count += 1

print count

Solution (Python):
s = raw_input()
st = "CODEFESTIVAL2016"
count = 0
for (sl, stl) in zip(s, st):
    if sl != stl:
        count += 1
print count

Solution (Python):
dst = 'CODEFESTIVAL2016'
src = raw_input()
print sum(1 for i in range(len(dst)) if dst[i] != src[i])

Solution (Python):
import sys

S = sys.stdin.readline()
T = 'CODEFESTIVAL2016'

cnt = 0
for s, t in zip(S, T):
    if s != t:
        cnt += 1

print(cnt)

Solution (Python):
S = raw_input()
answer = 0
model = "CODEFESTIVAL2016"
for x in range(16):
    if S[x] != model[x]:
        answer += 1
print answer

Solution (Python):
 
correct = 'CODEFESTIVAL2016'
wrong = raw_input()
sum = 0
for index in xrange(0, len(wrong)):
    if correct[index] != wrong[index]:
        sum += 1
print sum

Solution (Python):
s=input()
v="CODEFESTIVAL2016"
cnt=0
for i in range(16):
    if s[i]==v[i]:
        cnt+=1
print(16-cnt)

Solution (Python):
print(sum([a != b for a, b in zip('CODEFESTIVAL2016', input())]))

Solution (Python):
s = raw_input()

c = "CODEFESTIVAL2016"

ans  = 0
for i in range(len(c)):
    if s[i] != c[i]:
        ans += 1
print ans

Solution (Python):
s=raw_input()
print sum(s[i]!='CODEFESTIVAL2016'[i] for i in range(len(s)))

Solution (Python):
title = 'CODEFESTIVAL2016'
S = str(input())
count = 0

for i in range(16):
    if S[i] != title[i]:
        count = count + 1

print(count)

Solution (Python):
s = input()
chs = list(s)
str = 'CODEFESTIVAL2016'
count = 0
for i, ch in enumerate(chs):
  if ch != str[i]:
    count += 1
print(count)

Solution (Python):
string = input()

goal = 'CODEFESTIVAL2016'

count = 0
for i in range(len(string)):
    c = string[i]
    if c != goal[i]:
        count += 1

print(count)

Solution (Python):
import sys 

S = sys.stdin.readline().strip()
template = 'CODEFESTIVAL2016'
res = 0 
i = 0 
while i < len(S):
    if S[i] != template[i]:
        res += 1
    i +=1                                                                                                                                                                                                                             

print res

Solution (Python):
s = raw_input()
a = "CODEFESTIVAL2016"
ans = 0
for i in xrange(16):
    if s[i] != a[i]:
        ans += 1
print ans

Solution (Python):



t = "CODEFESTIVAL2016"
s = raw_input()
ans = 0
for i in xrange(16):
    if s[i] != t[i]:
        ans += 1

print ans

Solution (Python):
input_str = raw_input()
result_str = "CODEFESTIVAL2016"

count = 0
for input_char, result_char in zip(input_str, result_str):
    if input_char != result_char:
        count += 1
print count

Solution (Python):
s = raw_input()
orig = 'CODEFESTIVAL2016'

result = 0
for i in range(len(s)):
  if orig[i] != s[i]:
    result += 1

print result

Solution (Python):
l=raw_input()
list(l)
L="CODEFESTIVAL2016"
d=0
for i in range(len(l)):
    if(l[i]!=L[i]):
        d+=1
print d

Solution (Python):
import math
from collections import Counter
S = raw_input().strip()
tar = "CODEFESTIVAL2016"
count = 0
for i, Si in enumerate(S):
  if Si != tar[i]:
    count += 1
print count

Solution (Python):




"""









"""

def inputs():
    return input()

def check_wrong_strs(inputed):
    """

    >>> check_wrong_strs("C0DEFESTIVAL2O16")
    2
    >>> check_wrong_strs("FESTIVAL2016CODE")
    16
    """
    num = 0
    RIGHT = "CODEFESTIVAL2016"

    for i, n in zip(inputed, RIGHT):
        if i != n:
            num += 1
    return num



if __name__ == "__main__":
    print(check_wrong_strs(inputs()))

Solution (Python):

ss = 'CODEFESTIVAL2016'
s = raw_input()
res = 0
for x in xrange(len(ss)):
    if ss[x] != s[x]:
        res += 1

print res

Solution (Python):
print sum([a != b for a, b in zip("CODEFESTIVAL2016", raw_input())])