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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
S=list(str(input().split()))
G='CODEFESTIVAL2016'
t=0
for i in range(16):
  if S[i]!=G[i]:
    t+=1
print(t)

Submission status: Wrong Answer

Solution code:
s = input()
tmp = "C0DEFESTIVAL2O16"
ans = 0

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#list(map(int, input().split()))
s=input()
t='CODEFESTIVAL2016'
ans=0
for i in range(16):
    if t[i]==s[i]:ans+=1
print(ans)

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=list(input())
t=list('CODEFESTIVAL2016')
count=0
for k in range(16):
    if s[k] == t[k]:
        count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

Solution code:
s=input();ans=0
for i in range(0,len(s)):
    if s[i]!='C' and s[i]!='O' and s[i]!='D' and s[i]!='E' and s[i]!='F' and s[i]!='S' and s[i]!='T' and s[i]!='I' and s[i]!='V' and s[i]!='A' and s[i]!='L' and s[i]!='2' and s[i]!='0' and s[i]!='1' and s[i]!='6':
        ans+=1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import difflib;print(difflib.SequenceMatcher(None,'CODEFESTIVAL2016',input()).ratio()*100//16)

Submission status: Wrong Answer

Solution code:
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(15):
        if t[i] != s[i]:
            r += 1
    return r


print(main())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


print('Enter a string: ')
string_trnase(input())

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
s = input()
if s != 'CODEFESTIVAL2016':
    s = 'CODEFESTIVAL2016'
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = raw_input()
r = 'CODEFESTIVAL2016'
cnt = 0
for i in xrange(len(s)):
    cnt += 1 if s[i] == r[i] else 0
print cnt

Submission status: Wrong Answer

Solution code:
A = "CODEFESTIVAL2016"
S = input()
print(sum(1 if s == a else 0 for s, a in zip(A, S)))

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(len(S)):
    if S[i] != T[i]:
        ans += 1
print(ans)

Submission status: Accepted

Solution code:
S = "CODEFESTIVAL2016"
T = input()
ans = 0
for i in range(16):
  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()
t = 'CODEFESTIVAL2016'
ans = 0
for i in range(16):
  if s[i] != t[i]: ans += 1
print(ans)

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:
n = input()
a = "CODEFESTIVAL2016"
c = 0
for i in range(len(a)):
    if a[i]!=n[i]:
        c+=1
print(c)

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:
def main():
    s = input()
    c = "CODEFESTIVAL2016"
    cnt = 0

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

    print(cnt)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# coding: utf-8
s=input()
s_="CODEFESTIVAL2016"
ans=0
for i in range(len(s_)):
    if s[i]!=s_[i]:
        ans+=1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
b = "CODEFESTIVAL2016"
c = 0
for i in range(len(b)):
    if a[i] == b[i]:
        continue
    else:
        c = c + 1
print(c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
t = 'CODEFESTIVAL2016'
a = sum(c1 != c2 for c1, c2 in zip(s, t))
print(a)

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:
n = input()
ans = 0
a = "CODEFESTIVAL2016"
for i, j in zip(n, a):
  if i != j:
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
S = input()
a = "CODEFESTIVAL2016"
cnt = 0

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

print (cnt)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, math, re
from functools import lru_cache
from collections import defaultdict
sys.setrecursionlimit(500000)
MOD = 10**9+7

def input():
    return sys.stdin.readline()[:-1]

def mi():
    return map(int, input().split())

def ii():
    return int(input())

def i2(n):
    tmp = [list(mi()) for i in range(n)]
    return [list(i) for i in zip(*tmp)]

def main():
    S = input()
    T = 'CODEFESTIVAL2016'

    print(sum(1 for i in range(16) if S[i] != T[i]))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
'''
Created on 2020/08/20

@author: harurun
'''
def main():
  import sys
  pin=sys.stdin.readline
  pout=sys.stdout.write
  perr=sys.stderr.write
  
  S=pin()[:-1]
  ans=0
  T="CODEFESTIVAL2016"
  for i in range(16):
    if S[i]==T[i]:
      continue
    ans+=1
  print(ans)
  return 

main()

Submission status: Accepted

Solution code:
#CODE FESTIVAL 2016 qual B a
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()
s1 = "CODEFESTIVAL2016"
ans = 0
for i in range(len(s)):
  if s[i] != s1[i]:
    ans += 1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    S = input()
    A = 'CODEFESTIVAL2016'
    ans = 0
    for s, a in zip(S,A):
        if s!=a:
            ans += 1
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
S = list(input())
s = list("CODEFESTIVAL2016")

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

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

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()
target = 'CODEFESTIVAL2016'
res = 0
for i in range(16):
    if s[i] != target[i]:
        res += 1
print(res)

Submission status: Accepted

Solution code:
s = input()

ans = 0
word = "CODEFESTIVAL2016"

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()
    T = "CODEFESTIVAL2016"

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

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    s=input()
    xx="CODEFESTIVAL2016"
    z=0
    for i in range(0,len(xx)):
        if(s[i]!=xx[i]):
            z+=1
    print(z)

main()

Submission status: Accepted

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

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()
a = "CODEFESTIVAL2016"
ans = 0
for i in range(16):
  if a[i] != s[i]:
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
def main():
    S = input()
    ref = "CODEFESTIVAL2016"
    ans = 0

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

    print(ans)
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

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()
org="CODEFESTIVAL2016"

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = str(input())
t = 'CODEFESTIVAL2016'
ans = 0
for i in range(16):
    if s[i] != t[i]:
        ans += 1
print(ans)

Submission status: Accepted

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

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()
moji = "CODEFESTIVAL2016"
ans = 0
for i in range(len(moji)):
    if s[i] != moji[i]:
        ans +=1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

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:
# li = list(map(int, input().split()))
s = input()
a = "CODEFESTIVAL2016"
ans = 0
for i in range(16):
	if s[i] != a[i]:
		ans += 1
print(ans)
# print(s[:4]+' '+s[4:])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

bb='CODEFESTIVAL2016'

ans=0
i=0
while i<len(bb):
    
    if s[i]!=bb[i]:
        ans+=1

    i+=1

print(ans)

Submission status: Accepted

Solution code:
s = list(input())

t_s = list('CODEFESTIVAL2016')
n = len(t_s)
cnt = 0

for s1,s2 in zip(s,t_s):
    if s1 != s2:
        cnt += 1
print(cnt)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s, = *open(0),
print(sum(a!=b for a, b in zip(s, 'CODEFESTIVAL2016')))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()
A='CODEFESTIVAL2016'
print(sum(S[i]!=A[i]for i in range(len(A))))

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:
s = input()
t = "CODEFESTIVAL2016"

print(sum([c1 != c2 for (c1, c2) in zip(s, t)]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

S = input()
T = "CODEFESTIVAL2016"
print(sum(x!=y for x, y in zip(S, T)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees#, log2, log
from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left, insort, insort_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
from decimal import Decimal
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10**9 + 7
from decimal import *

S = input()

S_correct ="CODEFESTIVAL2016"

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

print(ans)

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:
seikai = "CODEFESTIVAL2016"
ans = 0
S = input()
for i in range(16):
  if S[i] != seikai[i]:
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
s = list(input())
l = ['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']
c = 0

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

print(c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

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:
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    s = input()

    res = 0
    for i, j in zip(s, "CODEFESTIVAL2016"):
        if i != j:
            res += 1
    print(res)


if __name__ == '__main__':
    resolve()

Submission status: Accepted

Solution code:
s = input()
count = 0
for si,ti in zip(s,"CODEFESTIVAL2016"):
  if si!=ti:
    count+=1
print(count)

Submission status: Accepted

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

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:
from sys import stdin
import math
import re
import queue

input = stdin.readline

MOD = 1000000007
INF = 122337203685477580

def solve():
    S = (input().rstrip())
    ref = "CODEFESTIVAL2016"

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


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
S=input()
print(sum(i!=j for i,j in zip(S,"CODEFESTIVAL2016")))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
correct = 'CODEFESTIVAL2016'
s = input()
ans = 0
for i in range(16):
  if correct[i] != s[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:
# A - Signboard
correct = 'CODEFESTIVAL2016'
s = input()
ans = 0

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    t='CODEFESTIVAL2016'
    cnt=0
    for ss,tt in zip(s,t):
        if ss!=tt:
            cnt+=1
    print(cnt)
resolve()

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 5 + 10)
def input(): return sys.stdin.readline().strip()

def resolve():
    l='CODEFESTIVAL2016'
    s=str(input())
    ls=len(s)
    cnt=0
    for i in range(ls):
        if s[i]!=l[i]: cnt+=1
    print(cnt)
    
resolve()

Submission status: Accepted

Solution code:

import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    t='CODEFESTIVAL2016'
    cnt=0
    for i in range(16):
        if s[i]!=t[i]:
            cnt+=1
    print(cnt)
resolve()

Submission status: Accepted

Solution code:
s = input() #sys.stdin.readlineは最後が改行
n = len(s)
t = 'CODEFESTIVAL2016'

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

Submission status: Accepted

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

Submission status: Accepted

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

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"
count=0
for i in range(16):
    if s[i]!=a[i]:
        count+=1
print(count)

Submission status: Accepted

Solution code:
r = ['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']
s = list(input())
ans = 0

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

print(ans)

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:
adequate = "CODEFESTIVAL2016"
wrong = input()
cnt = 0

for i in range(len(wrong)):
    if adequate[i] != wrong[i]:
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
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()
correct = "CODEFESTIVAL2016"
count = 0
for i in range(16):
    if S[i] != correct[i]:
            count += 1
print(count)

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:
a =list('CODEFESTIVAL2016')
b=list(input())
ans=int()
for i in range(16):
    if a[i]!=b[i]:
        ans+=1
print(ans)

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:
c = 'CODEFESTIVAL2016'
s = input()

co = 0

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    #from operator import itemgetter

    #inf = 10**17
    #mod = 10**9 + 7

    s = input().rstrip()
    res = 0
    a = 'CODEFESTIVAL2016'
    for i in range(16):
        if s[i] != a[i]:
            res += 1
    print(res)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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