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



Sample input:
C0DEFESTIVAL2O16


Sample output:
2

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())
d = 'CODEFESTIVAL2016'
l = list(d)

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

Submission status: Accepted

Solution code:
from sys import stdin

def readString() :
    return  stdin.readline().rstrip()

def solve() :
    S = "CODEFESTIVAL2016"
    T = stdin.readline().rstrip()
    ans = 0 
    for x in range(len(S)):
        if(S[x] != T[x]) :
            ans += 1

    print(ans)

solve()

Submission status: Accepted

Solution code:
S=input()
T="CODEFESTIVAL2016"
N=len(T)

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

Submission status: Accepted

Solution code:
S = list(input())

C = list("CODEFESTIVAL2016")

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

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



if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
ANS = 'CODEFESTIVAL2016'
S = input()
cnt = 0
for i in range(len(S)):
    if S[i] != ANS[i]:
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
s = input()
t = "CODEFESTIVAL2016"

print(sum([i != j for i, j in zip(s, t)]))

Submission status: Accepted

Solution code:
s = input()
t = "CODEFESTIVAL2016"

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

Submission status: Accepted

Solution code:
from collections import Counter, defaultdict
import sys
sys.setrecursionlimit(10 ** 5 + 10)
# input = sys.stdin.readline
from math import factorial
import heapq, bisect
import math
import itertools


import queue
from collections import deque




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



if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(sum(c!=d for c,d in zip("CODEFESTIVAL2016",input())))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    ans = list("CODEFESTIVAL2016")
    cnt = 0
    s = str(input().rstrip('\n'))
    for i in range(len(s)):
        if s[i] != ans[i]:
            cnt += 1
    print(cnt)


if __name__ == '__main__':
    slove()

Submission status: Accepted

Solution code:
S = input()
T = "CODEFESTIVAL2016"
ans = 0

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

print(ans)

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
S1 = str(input())
S2 = "CODEFESTIVAL2016"

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(s):
    return len(list(filter(lambda x: x[0] != x[1], zip(s, "CODEFESTIVAL2016"))))

print(solve(input()))

Submission status: Accepted

Solution code:
S=input()
print(sum(s!="CODEFESTIVAL2016"[i] for i,s in enumerate(S)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()
print(sum([1 for _ in range(16) if S[_]!='CODEFESTIVAL2016'[_]]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math, string, itertools, fractions, heapq, collections, re, array, bisect, copy, functools, random
import sys
from collections import deque, defaultdict, Counter; from heapq import heappush, heappop
from itertools import permutations, combinations, product, accumulate, groupby
from bisect import bisect_left, bisect_right, insort_left, insort_right
from operator import itemgetter as ig
sys.setrecursionlimit(10 ** 7)
inf = 10 ** 20; INF = float("INF"); ans = 0; tmp = 0; cnt = 0; ansli = []; tmpli = []; candili = []; stillset = set()
eps = 1.0 / 10 ** 10; mod = 10 ** 9 + 7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]; ddn = dd + [(-1, 1), (1, 1), (1, -1), (-1, -1)]; ddn9 = ddn + [(0, 0)]
"""for dx, dy in dd:
        nx = j + dx; ny = i + dy
            if 0 <= nx < w and 0 <= ny < h:"""
def wi(): return list(map(int, sys.stdin.readline().split()))
def wip(): return [int(x) - 1 for x in sys.stdin.readline().split()]#WideIntPoint
def ws(): return sys.stdin.readline().split()
def i(): return int(sys.stdin.readline())
def s(): return input()
def s_list(): return list(input())
def hi(n): return [i() for _ in range(n)]
def hs(n): return [s() for _ in range(n)]#HeightString
def mi(n): return [wi() for _ in range(n)]#MatrixInt
def num_grid(n): return [[int(i) for i in sys.stdin.readline().split()[0]] for _ in range(n)]#NumberGrid
def mip(n): return [wip() for _ in range(n)]
def ms(n): return [ws() for _ in range(n)]
def grid(n): return [s_list() for _ in range(n)]


if __name__ == '__main__':
    s = s()
    cf = "CODEFESTIVAL2016"
    for i in range(len(s)):
        if s[i] != cf[i]:
            ans += 1
    print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
k=0
t=0
s='CODEFESTIVAL2016'
for x in input():
    if x!=s[k]:
        t+=1
    k+=1
print(t)

Submission status: Accepted

Solution code:
s = input()
t = "CODEFESTIVAL2016"

ans_list = [ s[i] != t[i] for i in range(16) ]
print(ans_list.count(True))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

seikai = 'CODEFESTIVAL2016'
matigai_count = 0

s = input()

for i in range(16):
    # print(s[i])
    # print(seikai[i])
    if s[i] == seikai[i]:
        # print('〇')
        pass
    else:
        # print('×')
        matigai_count += 1

print(matigai_count)

Submission status: Accepted

Solution code:
print(len([i for i, j in zip(list(input()), list("CODEFESTIVAL2016")) if i!=j]))

Submission status: Accepted

Solution code:
S=input()
ans='CODEFESTIVAL2016'

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

Submission status: Accepted

Solution code:
S = input()

C = "CODEFESTIVAL2016"

ans = 0

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

print(ans)

Submission status: Accepted

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

for i,j in zip(s,t):
    if i != j:
        ans += 1
print(ans)

Submission status: Accepted

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

print(sum([S[i]!=T[i] for i in range(len(T))]))

Submission status: Accepted

Solution code:
s = input()

cnt=0
if s[0]!="C":
    cnt+=1
if s[1] != "O":
    cnt += 1
if s[2] != "D":
    cnt += 1
if s[3] != "E":
    cnt += 1
if s[4]!="F":
    cnt+=1
if s[5]!="E":
    cnt+=1
if s[6]!="S":
    cnt+=1
if s[7]!="T":
    cnt+=1
if s[8]!="I":
    cnt+=1
if s[9]!="V":
    cnt+=1
if s[10] != "A":
    cnt += 1
if s[11] != "L":
    cnt += 1
if s[12] != "2":
    cnt += 1
if s[13] != "0":
    cnt += 1
if s[14] != "1":
    cnt += 1
if s[15] != "6":
    cnt += 1

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# code-festival-2016-qualbA - Signboard
def main():
    S = input().rstrip()
    C = "CODEFESTIVAL2016"
    ans = sum(i != j for i, j in zip(S, C))
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()
string = "CODEFESTIVAL2016"

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

print(count)

Submission status: Accepted

Solution code:
s = input()
ans= 0
a = 'CODEFESTIVAL2016'
for ss,aa in zip(s,a):
  if ss != aa:
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
s = input()
c = 'CODEFESTIVAL2016'
g = 0
for ss,cc in zip(s,c):
    if ss != cc:g+=1
print(g)

Submission status: Accepted

Solution code:
t = 'CODEFESTIVAL2016'
s = input()
cnt = 0
for i in range(16):
    cnt += (s[i] != t[i])
print(cnt)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

count = 0
for s, t in zip(S, "CODEFESTIVAL2016"):
    if s != t:
        count += 1

print(count)

Submission status: Accepted

Solution code:
N=input()
s='CODEFESTIVAL2016'
ans=0
for i in range(16):
    if not N[i]==s[i]:ans+=1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
cd = "CODEFESTIVAL2016"
s = input()

ans = 0
for i, j in zip(cd, s):
  if i != j:
    ans += 1
    
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# codefest 2016, A - signboard
s = input()
r = 'CODEFESTIVAL2016'

count = 0
for el_s, el_r in zip(s, r):
    if el_s != el_r:
        count += 1
print(count)

Submission status: Accepted

Solution code:
S = input()

count = 0
for i, s in enumerate(S):
	count += (s != "CODEFESTIVAL2016"[i])
print(count)

Submission status: Accepted

Solution code:
def main():
    S = input()
    target = "CODEFESTIVAL2016"
    ans = 0
    for i, s in enumerate(S):
        if s != target[i]:
            ans += 1
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
a = 'CODEFESTIVAL2016'

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

Submission status: Accepted

Solution code:
S1=input()
S2='CODEFESTIVAL2016'

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A="CODEFESTIVAL2016"
B=input()
C=0
for a,b in zip(A,B):
  if a==b:
    continue
  else:
    C=C+1
print(C)

Submission status: Accepted

Solution code:
S = input()
T = "CODEFESTIVAL2016"
s = 0
for i,j in zip(S, T):
  if i == j:
    s += 1
print(16-s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
S = input()
cnt = 0
for idx, val in enumerate(S):
        if val != 'CODEFESTIVAL2016'[idx]:
                cnt += 1

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

a = 'CODEFESTIVAL2016'
ans = 0
for s, aa in zip(S, a):
    if s != aa:
        ans += 1

print(ans)

Submission status: Accepted

Solution code:
###template###
import sys
def input(): return sys.stdin.readline().rstrip()
def mi(): return map(int, input().split())
###template###

S = input()
rightans = "CODEFESTIVAL2016"

ans = 0
for s, ra in zip(S, rightans):
  if s != ra: ans += 1

print(ans)

Submission status: Accepted

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

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

print(count)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

truth = "CODEFESTIVAL2016"

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

print(c)

Submission status: Accepted

Solution code:
s = list(input())
t = list("CODEFESTIVAL2016")
ans = 0

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
t='CODEFESTIVAL2016'

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

print(count)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
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:])

Submission status: Accepted

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

print(c)

Submission status: Accepted

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

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

print(cnt)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

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

print(count)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# user: herp_sy

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)

# , = map(int, input.split())
#  = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = 0

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

print(cnt)

Submission status: Accepted

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

print(len(S) - cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = input()

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

print(ans)
print()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Ss = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

ans = 16

A = 'CODEFESTIVAL2016'

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

ch = 'CODEFESTIVAL2016'

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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