node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 37, 2 ], [ 34, 6 ], [ 40, 9 ], [ 13, 12 ], [ 38, 19 ], [ 12, 20 ], [ 35, 22 ], [ 12, 23 ], [ 31, 25 ], [ 32, 29 ], [ 41, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s=input()\nss=\"CODEFESTIVAL2016\"\ncount=0\nfor i in range(16):\n if s[i]!=ss[i]:\n count+=1\n\nprint(count)", "s=input()", "s", "input()", "input", "ss=\"CODEFESTIVAL2016\"", "ss", "\"CODEFESTIVAL2016\"", "count=0", "count", "0", "for i in range(16):\n if s[i]!=ss[i]:\n count+=1", "i", "range(16)", "range", "16", "if s[i]!=ss[i]:\n count+=1", "s[i]!=ss[i]", "s[i]", "s", "i", "ss[i]", "ss", "i", "count+=1", "count", "1", "print(count)", "print", "count", "count+=1", "1", "count", "ss=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "ss", "s=input()", "input()", "s", "count=0", "0", "count" ]
s=input() ss="CODEFESTIVAL2016" count=0 for i in range(16): if s[i]!=ss[i]: count+=1 print(count)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 37, 2 ], [ 40, 6 ], [ 34, 9 ], [ 13, 12 ], [ 38, 19 ], [ 12, 20 ], [ 41, 22 ], [ 12, 23 ], [ 31, 25 ], [ 32, 29 ], [ 35, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "S1 = input()\nS2 = \"CODEFESTIVAL2016\"\nans = 0\nfor i in range(16):\n if S1[i] != S2[i]:\n ans+=1\nprint(ans)\n ", "S1 = input()", "S1", "input()", "input", "S2 = \"CODEFESTIVAL2016\"", "S2", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i in range(16):\n if S1[i] != S2[i]:\n ans+=1", "i", "range(16)", "range", "16", "if S1[i] != S2[i]:\n ans+=1", "S1[i] != S2[i]", "S1[i]", "S1", "i", "S2[i]", "S2", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "ans+=1", "1", "ans", "ans = 0", "0", "ans", "S1 = input()", "input()", "S1", "S2 = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "S2" ]
S1 = input() S2 = "CODEFESTIVAL2016" ans = 0 for i in range(16): if S1[i] != S2[i]: ans+=1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 0, 13, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 40, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 35, 2 ], [ 32, 6 ], [ 38, 9 ], [ 13, 12 ], [ 29, 17 ], [ 36, 20 ], [ 12, 21 ], [ 33, 23 ], [ 12, 24 ], [ 30, 27 ], [ 39, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "a=input()\nb='CODEFESTIVAL2016'\nans=0\nfor i in range(16):\n ans+=(a[i]!=b[i])\nprint(ans)", "a=input()", "a", "input()", "input", "b='CODEFESTIVAL2016'", "b", "'CODEFESTIVAL2016'", "ans=0", "ans", "0", "for i in range(16):\n ans+=(a[i]!=b[i])", "i", "range(16)", "range", "16", "ans+=(a[i]!=b[i])", "ans", "a[i]!=b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "print(ans)", "print", "ans", "ans+=(a[i]!=b[i])", "a[i]!=b[i]", "ans", "b='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "b", "a=input()", "input()", "a", "ans=0", "0", "ans" ]
a=input() b='CODEFESTIVAL2016' ans=0 for i in range(16): ans+=(a[i]!=b[i]) print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13 ]
[ [ 17, 2 ], [ 14, 6 ], [ 14, 15 ], [ 17, 18 ] ]
[ "s=input()\nt=\"CODEFESTIVAL2016\"\nprint(sum(1 for i in range(len(s)) if s[i]!=t[i]))", "s=input()", "s", "input()", "input", "t=\"CODEFESTIVAL2016\"", "t", "\"CODEFESTIVAL2016\"", "print(sum(1 for i in range(len(s)) if s[i]!=t[i]))", "print", "sum(1 for i in range(len(s)) if s[i]!=t[i])", "sum", "1", "t=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "t", "s=input()", "input()", "s" ]
s=input() t="CODEFESTIVAL2016" print(sum(1 for i in range(len(s)) if s[i]!=t[i]))
[ 7, 12, 13, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 4, 13, 17, 0, 13, 4, 13, 4, 18, 4, 13, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 14, 13 ], [ 19, 18 ], [ 6, 24 ], [ 29, 28 ], [ 32, 31 ], [ 18, 36 ], [ 13, 40 ], [ 31, 41 ], [ 18, 43 ], [ 31, 44 ], [ 47, 46 ], [ 46, 50 ], [ 28, 50 ], [ 59, 56 ] ]
[ "def slove():\n import sys\n input = sys.stdin.readline\n ls = list(\"CODEFESTIVAL2016\")\n s = str(input().rstrip('\\n'))\n cnt = 0\n for i in range(len(s)):\n if ls[i] != s[i]:\n cnt += 1\n print(cnt)\n\n\nif __name__ == '__main__':\n slove()", "def slove():\n import sys\n input = sys.stdin.readline\n ls = list(\"CODEFESTIVAL2016\")\n s = str(input().rstrip('\\n'))\n cnt = 0\n for i in range(len(s)):\n if ls[i] != s[i]:\n cnt += 1\n print(cnt)", "slove", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "ls = list(\"CODEFESTIVAL2016\")", "ls", "list(\"CODEFESTIVAL2016\")", "list", "\"CODEFESTIVAL2016\"", "s = str(input().rstrip('\\n'))", "s", "str(input().rstrip('\\n'))", "str", "input().rstrip('\\n')", "().rstrip", "()", "input", "rstrip", "'\\n'", "cnt = 0", "cnt", "0", "for i in range(len(s)):\n if ls[i] != s[i]:\n cnt += 1\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if ls[i] != s[i]:\n cnt += 1\n ", "ls[i] != s[i]", "ls[i]", "ls", "i", "s[i]", "s", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "if __name__ == '__main__':\n slove()", "__name__ == '__main__'", "__name__", "'__main__'", "slove()", "slove", "def slove():\n import sys\n input = sys.stdin.readline\n ls = list(\"CODEFESTIVAL2016\")\n s = str(input().rstrip('\\n'))\n cnt = 0\n for i in range(len(s)):\n if ls[i] != s[i]:\n cnt += 1\n print(cnt)", "def slove():\n import sys\n input = sys.stdin.readline\n ls = list(\"CODEFESTIVAL2016\")\n s = str(input().rstrip('\\n'))\n cnt = 0\n for i in range(len(s)):\n if ls[i] != s[i]:\n cnt += 1\n print(cnt)", "slove" ]
def slove(): import sys input = sys.stdin.readline ls = list("CODEFESTIVAL2016") s = str(input().rstrip('\n')) cnt = 0 for i in range(len(s)): if ls[i] != s[i]: cnt += 1 print(cnt) if __name__ == '__main__': slove()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 17, 2 ], [ 20, 6 ], [ 10, 9 ], [ 21, 15 ], [ 17, 18 ], [ 20, 21 ] ]
[ "s=input();a=0\nfor i in range(16):a+=[0,1][s[i]!='CODEFESTIVAL2016'[i]]\nprint(a)", "s=input()", "s", "input()", "input", "a=0", "a", "0", "for i in range(16):a+=[0,1][s[i]!='CODEFESTIVAL2016'[i]]", "i", "range(16)", "range", "16", "print(a)", "print", "a", "s=input()", "input()", "s", "a=0", "0", "a" ]
s=input();a=0 for i in range(16):a+=[0,1][s[i]!='CODEFESTIVAL2016'[i]] print(a)
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 40, 13, 13, 10, 4, 13 ]
[ [ 13, 2 ], [ 13, 14 ] ]
[ "s = input()\nprint(sum(a!=b for a, b in zip(s, 'CODEFESTIVAL2016')))", "s = input()", "s", "input()", "input", "print(sum(a!=b for a, b in zip(s, 'CODEFESTIVAL2016')))", "print", "sum(a!=b for a, b in zip(s, 'CODEFESTIVAL2016'))", "sum", "a!=b", "a", "b", "s = input()", "input()", "s" ]
s = input() print(sum(a!=b for a, b in zip(s, 'CODEFESTIVAL2016')))
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 40, 2 ], [ 37, 5 ], [ 31, 9 ], [ 13, 12 ], [ 41, 19 ], [ 12, 20 ], [ 38, 22 ], [ 12, 23 ], [ 34, 25 ], [ 35, 29 ], [ 32, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "S = 'CODEFESTIVAL2016'\nT = input()\nres = 0\nfor i in range(16):\n if S[i] != T[i]:\n res += 1\nprint(res)", "S = 'CODEFESTIVAL2016'", "S", "'CODEFESTIVAL2016'", "T = input()", "T", "input()", "input", "res = 0", "res", "0", "for i in range(16):\n if S[i] != T[i]:\n res += 1", "i", "range(16)", "range", "16", "if S[i] != T[i]:\n res += 1", "S[i] != T[i]", "S[i]", "S", "i", "T[i]", "T", "i", "res += 1", "res", "1", "print(res)", "print", "res", "res = 0", "0", "res", "res += 1", "1", "res", "T = input()", "input()", "T", "S = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "S" ]
S = 'CODEFESTIVAL2016' T = input() res = 0 for i in range(16): if S[i] != T[i]: res += 1 print(res)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 34, 2 ], [ 37, 6 ], [ 31, 9 ], [ 13, 12 ], [ 35, 19 ], [ 12, 20 ], [ 38, 22 ], [ 12, 23 ], [ 40, 25 ], [ 41, 29 ], [ 32, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s=input()\nt='CODEFESTIVAL2016'\nans=0\nfor i in range(16):\n if s[i]!=t[i]:\n ans+=1\nprint(ans)", "s=input()", "s", "input()", "input", "t='CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "ans=0", "ans", "0", "for i in range(16):\n if s[i]!=t[i]:\n ans+=1", "i", "range(16)", "range", "16", "if s[i]!=t[i]:\n ans+=1", "s[i]!=t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "ans=0", "0", "ans", "s=input()", "input()", "s", "t='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "t", "ans+=1", "1", "ans" ]
s=input() t='CODEFESTIVAL2016' ans=0 for i in range(16): if s[i]!=t[i]: ans+=1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 2, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 33, 6 ], [ 36, 9 ], [ 13, 12 ], [ 43, 19 ], [ 12, 20 ], [ 34, 22 ], [ 12, 23 ], [ 39, 25 ], [ 37, 27 ], [ 40, 27 ], [ 40, 31 ], [ 37, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "s = input()\ntmp = \"CODEFESTIVAL2016\"\nans = 0\n\nfor i in range(16):\n if s[i] != tmp[i]:\n ans = ans + 1\n\nprint(ans)", "s = input()", "s", "input()", "input", "tmp = \"CODEFESTIVAL2016\"", "tmp", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i in range(16):\n if s[i] != tmp[i]:\n ans = ans + 1", "i", "range(16)", "range", "16", "if s[i] != tmp[i]:\n ans = ans + 1", "s[i] != tmp[i]", "s[i]", "s", "i", "tmp[i]", "tmp", "i", "ans = ans + 1", "ans", "ans + 1", "ans", "1", "print(ans)", "print", "ans", "tmp = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "tmp", "ans = 0", "0", "ans", "ans = ans + 1", "ans + 1", "ans", "s = input()", "input()", "s" ]
s = input() tmp = "CODEFESTIVAL2016" ans = 0 for i in range(16): if s[i] != tmp[i]: ans = ans + 1 print(ans)
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 15, 14 ], [ 8, 20 ], [ 4, 24 ], [ 14, 25 ], [ 8, 27 ], [ 14, 28 ], [ 31, 30 ], [ 30, 34 ], [ 11, 34 ], [ 39, 36 ] ]
[ "def main():\n s=input()\n xx=\"CODEFESTIVAL2016\"\n z=0\n for i in range(0,len(xx)):\n if(s[i]!=xx[i]):\n z+=1\n print(z)\n\nmain()", "def main():\n s=input()\n xx=\"CODEFESTIVAL2016\"\n z=0\n for i in range(0,len(xx)):\n if(s[i]!=xx[i]):\n z+=1\n print(z)", "main", "s=input()", "s", "input()", "input", "xx=\"CODEFESTIVAL2016\"", "xx", "\"CODEFESTIVAL2016\"", "z=0", "z", "0", "for i in range(0,len(xx)):\n if(s[i]!=xx[i]):\n z+=1\n ", "i", "range(0,len(xx))", "range", "0", "len(xx)", "len", "xx", "if(s[i]!=xx[i]):\n z+=1\n ", "s[i]!=xx[i]", "s[i]", "s", "i", "xx[i]", "xx", "i", "z+=1", "z", "1", "print(z)", "print", "z", "main()", "main", "def main():\n s=input()\n xx=\"CODEFESTIVAL2016\"\n z=0\n for i in range(0,len(xx)):\n if(s[i]!=xx[i]):\n z+=1\n print(z)", "def main():\n s=input()\n xx=\"CODEFESTIVAL2016\"\n z=0\n for i in range(0,len(xx)):\n if(s[i]!=xx[i]):\n z+=1\n print(z)", "main" ]
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()
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 33, 6 ], [ 30, 9 ], [ 13, 12 ], [ 37, 17 ], [ 37, 21 ], [ 12, 22 ], [ 34, 24 ], [ 12, 25 ], [ 31, 28 ], [ 30, 31 ], [ 33, 34 ], [ 36, 37 ] ]
[ "s = input()\nfact ='CODEFESTIVAL2016'\n\ncnt = 0\nfor i in range(len(s)):\n if s[i] != fact[i]: cnt += 1\nprint(cnt)", "s = input()", "s", "input()", "input", "fact ='CODEFESTIVAL2016'", "fact", "'CODEFESTIVAL2016'", "cnt = 0", "cnt", "0", "for i in range(len(s)):\n if s[i] != fact[i]: cnt += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != fact[i]: cnt ", "s[i] != fact[i]", "s[i]", "s", "i", "fact[i]", "fact", "i", "print(cnt)", "print", "cnt", "cnt = 0", "0", "cnt", "fact ='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "fact", "s = input()", "input()", "s" ]
s = input() fact ='CODEFESTIVAL2016' cnt = 0 for i in range(len(s)): if s[i] != fact[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 41, 28, 13, 4, 13, 4, 13, 13, 40, 18, 17, 13, 18, 13, 13, 4, 13, 4, 13, 4, 13, 13, 10, 4, 13 ]
[ [ 28, 2 ], [ 8, 7 ], [ 29, 12 ], [ 7, 16 ], [ 29, 18 ], [ 7, 19 ], [ 7, 21 ], [ 28, 29 ] ]
[ "S = input()\nprint(len([i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]]))", "S = input()", "S", "input()", "input", "i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]", "for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]", "i", "range(len(S))", "range", "len(S)", "len", "S", "'CODEFESTIVAL2016'[i]!=S[i]", "'CODEFESTIVAL2016'[i]", "'CODEFESTIVAL2016'", "i", "S[i]", "S", "i", "if 'CODEFESTIVAL2016'[i]!=S[i]", "i", "print(len([i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]]))", "print", "len([i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]])", "len", "[i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]]", "S = input()", "input()", "S" ]
S = input() print(len([i for i in range(len(S)) if 'CODEFESTIVAL2016'[i]!=S[i]]))
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 4, 13, 4, 13, 39, 17, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 18, 13, 10, 4, 13, 10, 18, 13, 10, 17, 13 ]
[ [ 50, 4 ], [ 56, 11 ], [ 51, 16 ], [ 53, 20 ], [ 47, 25 ], [ 29, 28 ], [ 57, 35 ], [ 28, 36 ], [ 54, 38 ], [ 28, 39 ], [ 59, 41 ], [ 60, 45 ], [ 48, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ] ]
[ "import sys\ninput = sys.stdin.readline\nS = list(input())[: -1]\nt = list(\"CODEFESTIVAL2016\")\nres = 0\nfor i in range(16):\n if S[i] != t[i]:\n res += 1\nprint(res)", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "S = list(input())[: -1]", "S", "list(input())[: -1]", "(input())", "list", "input()", "input", ": -1", "-1", "t = list(\"CODEFESTIVAL2016\")", "t", "list(\"CODEFESTIVAL2016\")", "list", "\"CODEFESTIVAL2016\"", "res = 0", "res", "0", "for i in range(16):\n if S[i] != t[i]:\n res += 1", "i", "range(16)", "range", "16", "if S[i] != t[i]:\n res += 1", "S[i] != t[i]", "S[i]", "S", "i", "t[i]", "t", "i", "res += 1", "res", "1", "print(res)", "print", "res", "res = 0", "0", "res", "input = sys.stdin.readline", "sys.stdin.readline", "input", "t = list(\"CODEFESTIVAL2016\")", "list(\"CODEFESTIVAL2016\")", "t", "S = list(input())[: -1]", "list(input())[: -1]", "S", "res += 1", "1", "res" ]
import sys input = sys.stdin.readline S = list(input())[: -1] t = list("CODEFESTIVAL2016") res = 0 for i in range(16): if S[i] != t[i]: res += 1 print(res)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 13, 2, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 39, 13, 10, 2, 13 ]
[ [ 63, 2 ], [ 66, 8 ], [ 60, 27 ], [ 31, 30 ], [ 64, 35 ], [ 45, 38 ], [ 64, 39 ], [ 30, 40 ], [ 67, 42 ], [ 30, 43 ], [ 48, 45 ], [ 64, 46 ], [ 30, 47 ], [ 67, 49 ], [ 30, 50 ], [ 69, 52 ], [ 61, 54 ], [ 70, 54 ], [ 70, 58 ], [ 61, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ], [ 69, 70 ] ]
[ "s = list(input())\nl = ['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']\nc = 0\n\nfor i in range(len(s)):\n if s[i] != l[i]:\n s[i] = l[i]\n c = c + 1\n\nprint(c)", "s = list(input())", "s", "list(input())", "list", "input()", "input", "l = ['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']", "l", "['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']", "'C'", "'O'", "'D'", "'E'", "'F'", "'E'", "'S'", "'T'", "'I'", "'V'", "'A'", "'L'", "'2'", "'0'", "'1'", "'6'", "c = 0", "c", "0", "for i in range(len(s)):\n if s[i] != l[i]:\n s[i] = l[i]\n c = c + 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != l[i]:\n s[i] = l[i]\n c = c + 1", "s[i] != l[i]", "s[i]", "s", "i", "l[i]", "l", "i", "s[i] = l[i]", "s[i]", "s", "i", "l[i]", "l", "i", "c = c + 1", "c", "c + 1", "c", "1", "print(c)", "print", "c", "c = 0", "0", "c", "s = list(input())", "list(input())", "s", "l = ['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']", "['C','O','D','E','F','E','S','T','I','V','A','L','2','0','1','6']", "l", "c = c + 1", "c + 1", "c" ]
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)
[ 7, 15, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 17, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 4, 13, 10, 2, 13, 10, 12, 13 ]
[ [ 55, 11 ], [ 58, 16 ], [ 26, 25 ], [ 30, 29 ], [ 25, 36 ], [ 44, 43 ], [ 43, 47 ], [ 29, 47 ], [ 62, 53 ], [ 55, 56 ], [ 58, 59 ] ]
[ "import sys\n\nsys.setrecursionlimit(10 ** 7)\nf_inf = float('inf')\nmod = 10 ** 9 + 7\n\n\ndef resolve():\n s = input()\n\n res = 0\n for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n res += 1\n print(res)\n\n\nif __name__ == '__main__':\n resolve()", "import sys", "sys", "sys.setrecursionlimit(10 ** 7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 7", "10", "7", "f_inf = float('inf')", "f_inf", "float('inf')", "float", "'inf'", "mod = 10 ** 9 + 7", "mod", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "def resolve():\n s = input()\n\n res = 0\n for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n res += 1\n print(res)", "resolve", "s = input()", "s", "input()", "input", "res = 0", "res", "0", "for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n res += 1\n ", "i", "j", "zip(s, \"CODEFESTIVAL2016\")", "zip", "s", "\"CODEFESTIVAL2016\"", "if i != j:\n res += 1\n ", "i != j", "i", "j", "res += 1", "res", "1", "print(res)", "print", "res", "if __name__ == '__main__':\n resolve()", "__name__ == '__main__'", "__name__", "'__main__'", "resolve()", "resolve", "f_inf = float('inf')", "float('inf')", "f_inf", "mod = 10 ** 9 + 7", "10 ** 9 + 7", "mod", "def resolve():\n s = input()\n\n res = 0\n for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n res += 1\n print(res)", "def resolve():\n s = input()\n\n res = 0\n for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n res += 1\n print(res)", "resolve" ]
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()
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 34, 2 ], [ 37, 6 ], [ 40, 9 ], [ 13, 12 ], [ 35, 19 ], [ 12, 20 ], [ 38, 22 ], [ 12, 23 ], [ 31, 25 ], [ 32, 29 ], [ 41, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s = input()\ntarget = 'CODEFESTIVAL2016'\nres = 0\nfor i in range(16):\n if s[i] != target[i]:\n res += 1\nprint(res)", "s = input()", "s", "input()", "input", "target = 'CODEFESTIVAL2016'", "target", "'CODEFESTIVAL2016'", "res = 0", "res", "0", "for i in range(16):\n if s[i] != target[i]:\n res += 1", "i", "range(16)", "range", "16", "if s[i] != target[i]:\n res += 1", "s[i] != target[i]", "s[i]", "s", "i", "target[i]", "target", "i", "res += 1", "res", "1", "print(res)", "print", "res", "res += 1", "1", "res", "s = input()", "input()", "s", "target = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "target", "res = 0", "0", "res" ]
s = input() target = 'CODEFESTIVAL2016' res = 0 for i in range(16): if s[i] != target[i]: res += 1 print(res)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 36, 6 ], [ 42, 9 ], [ 13, 12 ], [ 40, 17 ], [ 40, 21 ], [ 12, 22 ], [ 37, 24 ], [ 12, 25 ], [ 33, 27 ], [ 34, 31 ], [ 43, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\ntmp = 'CODEFESTIVAL2016'\n\nres = 0\nfor i in range(len(S)):\n if S[i] != tmp[i]:\n res += 1\n \nprint(res)", "S = input()", "S", "input()", "input", "tmp = 'CODEFESTIVAL2016'", "tmp", "'CODEFESTIVAL2016'", "res = 0", "res", "0", "for i in range(len(S)):\n if S[i] != tmp[i]:\n res += 1\n ", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != tmp[i]:\n res += 1\n ", "S[i] != tmp[i]", "S[i]", "S", "i", "tmp[i]", "tmp", "i", "res += 1", "res", "1", "print(res)", "print", "res", "res += 1", "1", "res", "tmp = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "tmp", "S = input()", "input()", "S", "res = 0", "0", "res" ]
S = input() tmp = 'CODEFESTIVAL2016' res = 0 for i in range(len(S)): if S[i] != tmp[i]: res += 1 print(res)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 31, 2 ], [ 34, 6 ], [ 37, 9 ], [ 13, 12 ], [ 32, 19 ], [ 12, 20 ], [ 35, 22 ], [ 12, 23 ], [ 40, 25 ], [ 41, 29 ], [ 38, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s=input()\na=\"CODEFESTIVAL2016\"\nans=0\nfor i in range(16):\n if s[i]!=a[i]:\n ans+=1\nprint(ans)", "s=input()", "s", "input()", "input", "a=\"CODEFESTIVAL2016\"", "a", "\"CODEFESTIVAL2016\"", "ans=0", "ans", "0", "for i in range(16):\n if s[i]!=a[i]:\n ans+=1", "i", "range(16)", "range", "16", "if s[i]!=a[i]:\n ans+=1", "s[i]!=a[i]", "s[i]", "s", "i", "a[i]", "a", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "s=input()", "input()", "s", "a=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "a", "ans=0", "0", "ans", "ans+=1", "1", "ans" ]
s=input() a="CODEFESTIVAL2016" ans=0 for i in range(16): if s[i]!=a[i]: ans+=1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 33, 6 ], [ 30, 9 ], [ 13, 12 ], [ 37, 17 ], [ 37, 21 ], [ 12, 22 ], [ 34, 24 ], [ 12, 25 ], [ 31, 28 ], [ 30, 31 ], [ 33, 34 ], [ 36, 37 ] ]
[ "s=input()\nco=\"CODEFESTIVAL2016\"\ncou=0\nfor i in range(len(s)):\n if(s[i]!=co[i]):cou+=1\nprint(cou)", "s=input()", "s", "input()", "input", "co=\"CODEFESTIVAL2016\"", "co", "\"CODEFESTIVAL2016\"", "cou=0", "cou", "0", "for i in range(len(s)):\n if(s[i]!=co[i]):cou+=1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if(s[i]!=co[i]):cou+", "s[i]!=co[i]", "s[i]", "s", "i", "co[i]", "co", "i", "print(cou)", "print", "cou", "cou=0", "0", "cou", "co=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "co", "s=input()", "input()", "s" ]
s=input() co="CODEFESTIVAL2016" cou=0 for i in range(len(s)): if(s[i]!=co[i]):cou+=1 print(cou)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 31, 6 ], [ 34, 9 ], [ 13, 12 ], [ 41, 19 ], [ 12, 20 ], [ 32, 22 ], [ 12, 23 ], [ 37, 25 ], [ 38, 29 ], [ 35, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s=input()\nt=\"CODEFESTIVAL2016\"\ncnt=0\nfor i in range(16):\n if s[i]!=t[i]:\n cnt+=1\nprint(cnt)", "s=input()", "s", "input()", "input", "t=\"CODEFESTIVAL2016\"", "t", "\"CODEFESTIVAL2016\"", "cnt=0", "cnt", "0", "for i in range(16):\n if s[i]!=t[i]:\n cnt+=1", "i", "range(16)", "range", "16", "if s[i]!=t[i]:\n cnt+=1", "s[i]!=t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "cnt+=1", "cnt", "1", "print(cnt)", "print", "cnt", "t=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "t", "cnt=0", "0", "cnt", "cnt+=1", "1", "cnt", "s=input()", "input()", "s" ]
s=input() t="CODEFESTIVAL2016" cnt=0 for i in range(16): if s[i]!=t[i]: cnt+=1 print(cnt)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 35, 2 ], [ 29, 5 ], [ 38, 9 ], [ 36, 16 ], [ 30, 17 ], [ 32, 23 ], [ 33, 27 ], [ 39, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "a='CODEFESTIVAL2016'\ns=input()\ncnt=0\nfor i,j in zip(a,s):\n if i!=j:\n cnt+=1\nprint(cnt)", "a='CODEFESTIVAL2016'", "a", "'CODEFESTIVAL2016'", "s=input()", "s", "input()", "input", "cnt=0", "cnt", "0", "for i,j in zip(a,s):\n if i!=j:\n cnt+=1", "i", "j", "zip(a,s)", "zip", "a", "s", "if i!=j:\n cnt+=1", "i!=j", "i", "j", "cnt+=1", "cnt", "1", "print(cnt)", "print", "cnt", "s=input()", "input()", "s", "cnt+=1", "1", "cnt", "a='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "a", "cnt=0", "0", "cnt" ]
a='CODEFESTIVAL2016' s=input() cnt=0 for i,j in zip(a,s): if i!=j: cnt+=1 print(cnt)
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 42, 6 ], [ 49, 9 ], [ 36, 11 ], [ 39, 14 ], [ 18, 17 ], [ 43, 20 ], [ 49, 24 ], [ 17, 25 ], [ 37, 27 ], [ 17, 28 ], [ 45, 30 ], [ 46, 34 ], [ 40, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "s = input() #sys.stdin.readlineは最後が改行\nn = len(s)\nt = 'CODEFESTIVAL2016'\n\nans = 0\nfor i in range(n):\n if s[i] != t[i]:\n ans+=1\nprint(ans)", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "t = 'CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for i in range(n):\n if s[i] != t[i]:\n ans+=1", "i", "range(n)", "range", "n", "if s[i] != t[i]:\n ans+=1", "s[i] != t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "t = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "t", "ans = 0", "0", "ans", "n = len(s)", "len(s)", "n", "ans+=1", "1", "ans", "s = input()", "input()", "s" ]
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)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 46, 2 ], [ 52, 8 ], [ 49, 11 ], [ 53, 14 ], [ 40, 16 ], [ 20, 19 ], [ 47, 24 ], [ 50, 28 ], [ 19, 29 ], [ 47, 31 ], [ 19, 32 ], [ 43, 34 ], [ 44, 38 ], [ 41, 38 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ] ]
[ "s = list(input())\nd = 'CODEFESTIVAL2016'\nl = list(d)\n\ncnt =0\nfor i in range(len(s)):\n if l[i] != s[i]:\n cnt +=1\nprint(cnt)", "s = list(input())", "s", "list(input())", "list", "input()", "input", "d = 'CODEFESTIVAL2016'", "d", "'CODEFESTIVAL2016'", "l = list(d)", "l", "list(d)", "list", "d", "cnt =0", "cnt", "0", "for i in range(len(s)):\n if l[i] != s[i]:\n cnt +=1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if l[i] != s[i]:\n cnt +=1", "l[i] != s[i]", "l[i]", "l", "i", "s[i]", "s", "i", "cnt +=1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt =0", "0", "cnt", "cnt +=1", "1", "cnt", "s = list(input())", "list(input())", "s", "l = list(d)", "list(d)", "l", "d = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "d" ]
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)
[ 7, 0, 13, 4, 13, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 14, 40, 18, 13, 17, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 174, 2 ], [ 159, 6 ], [ 175, 11 ], [ 156, 15 ], [ 175, 20 ], [ 165, 24 ], [ 175, 29 ], [ 171, 33 ], [ 175, 38 ], [ 186, 42 ], [ 175, 47 ], [ 198, 51 ], [ 175, 56 ], [ 183, 60 ], [ 175, 65 ], [ 180, 69 ], [ 175, 74 ], [ 168, 78 ], [ 175, 83 ], [ 189, 87 ], [ 175, 92 ], [ 192, 96 ], [ 175, 101 ], [ 201, 105 ], [ 175, 110 ], [ 195, 114 ], [ 175, 119 ], [ 162, 123 ], [ 175, 128 ], [ 207, 132 ], [ 175, 137 ], [ 204, 141 ], [ 175, 146 ], [ 177, 150 ], [ 178, 154 ], [ 205, 154 ], [ 208, 154 ], [ 163, 154 ], [ 196, 154 ], [ 202, 154 ], [ 193, 154 ], [ 190, 154 ], [ 169, 154 ], [ 181, 154 ], [ 184, 154 ], [ 199, 154 ], [ 187, 154 ], [ 172, 154 ], [ 166, 154 ], [ 157, 154 ], [ 160, 154 ], [ 156, 157 ], [ 159, 160 ], [ 162, 163 ], [ 165, 166 ], [ 168, 169 ], [ 171, 172 ], [ 174, 175 ], [ 177, 178 ], [ 180, 181 ], [ 183, 184 ], [ 186, 187 ], [ 189, 190 ], [ 192, 193 ], [ 195, 196 ], [ 198, 199 ], [ 201, 202 ], [ 204, 205 ], [ 207, 208 ] ]
[ "s=input();ans=0\nif s[0]!='C':\n ans+=1\nif s[1]!='O':\n ans+=1\nif s[2]!='D':\n ans+=1\nif s[3]!='E':\n ans+=1\nif s[4]!='F':\n ans+=1\nif s[5]!='E':\n ans+=1\nif s[6]!='S':\n ans+=1\nif s[7]!='T':\n ans+=1\nif s[8]!='I':\n ans+=1\nif s[9]!='V':\n ans+=1\nif s[10]!='A':\n ans+=1\nif s[11]!='L':\n ans+=1\nif s[12]!='2':\n ans+=1\nif s[13]!='0':\n ans+=1\nif s[14]!='1':\n ans+=1\nif s[15]!='6':\n ans+=1\nprint(ans)", "s=input()", "s", "input()", "input", "ans=0", "ans", "0", "if s[0]!='C':\n ans+=1", "s[0]!='C'", "s[0]", "s", "0", "'C'", "ans+=1", "ans", "1", "if s[1]!='O':\n ans+=1", "s[1]!='O'", "s[1]", "s", "1", "'O'", "ans+=1", "ans", "1", "if s[2]!='D':\n ans+=1", "s[2]!='D'", "s[2]", "s", "2", "'D'", "ans+=1", "ans", "1", "if s[3]!='E':\n ans+=1", "s[3]!='E'", "s[3]", "s", "3", "'E'", "ans+=1", "ans", "1", "if s[4]!='F':\n ans+=1", "s[4]!='F'", "s[4]", "s", "4", "'F'", "ans+=1", "ans", "1", "if s[5]!='E':\n ans+=1", "s[5]!='E'", "s[5]", "s", "5", "'E'", "ans+=1", "ans", "1", "if s[6]!='S':\n ans+=1", "s[6]!='S'", "s[6]", "s", "6", "'S'", "ans+=1", "ans", "1", "if s[7]!='T':\n ans+=1", "s[7]!='T'", "s[7]", "s", "7", "'T'", "ans+=1", "ans", "1", "if s[8]!='I':\n ans+=1", "s[8]!='I'", "s[8]", "s", "8", "'I'", "ans+=1", "ans", "1", "if s[9]!='V':\n ans+=1", "s[9]!='V'", "s[9]", "s", "9", "'V'", "ans+=1", "ans", "1", "if s[10]!='A':\n ans+=1", "s[10]!='A'", "s[10]", "s", "10", "'A'", "ans+=1", "ans", "1", "if s[11]!='L':\n ans+=1", "s[11]!='L'", "s[11]", "s", "11", "'L'", "ans+=1", "ans", "1", "if s[12]!='2':\n ans+=1", "s[12]!='2'", "s[12]", "s", "12", "'2'", "ans+=1", "ans", "1", "if s[13]!='0':\n ans+=1", "s[13]!='0'", "s[13]", "s", "13", "'0'", "ans+=1", "ans", "1", "if s[14]!='1':\n ans+=1", "s[14]!='1'", "s[14]", "s", "14", "'1'", "ans+=1", "ans", "1", "if s[15]!='6':\n ans+=1", "s[15]!='6'", "s[15]", "s", "15", "'6'", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "ans+=1", "1", "ans", "ans=0", "0", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "s=input()", "input()", "s", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans", "ans+=1", "1", "ans" ]
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)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 42, 2 ], [ 36, 5 ], [ 39, 9 ], [ 13, 12 ], [ 37, 17 ], [ 37, 21 ], [ 12, 22 ], [ 43, 24 ], [ 12, 25 ], [ 33, 27 ], [ 34, 31 ], [ 40, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "ANS = 'CODEFESTIVAL2016'\nS = input()\ncnt = 0\nfor i in range(len(S)):\n if S[i] != ANS[i]:\n cnt += 1\n\nprint(cnt)", "ANS = 'CODEFESTIVAL2016'", "ANS", "'CODEFESTIVAL2016'", "S = input()", "S", "input()", "input", "cnt = 0", "cnt", "0", "for i in range(len(S)):\n if S[i] != ANS[i]:\n cnt += 1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != ANS[i]:\n cnt += 1", "S[i] != ANS[i]", "S[i]", "S", "i", "ANS[i]", "ANS", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt += 1", "1", "cnt", "S = input()", "input()", "S", "cnt = 0", "0", "cnt", "ANS = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "ANS" ]
ANS = 'CODEFESTIVAL2016' S = input() cnt = 0 for i in range(len(S)): if S[i] != ANS[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 42, 5 ], [ 39, 9 ], [ 13, 12 ], [ 37, 17 ], [ 43, 21 ], [ 12, 22 ], [ 37, 24 ], [ 12, 25 ], [ 33, 27 ], [ 34, 31 ], [ 40, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "c = 'CODEFESTIVAL2016'\ns = input()\n\nco = 0\n\nfor i in range(len(c)):\n if s[i] != c[i]:\n co += 1\n \nprint(co)", "c = 'CODEFESTIVAL2016'", "c", "'CODEFESTIVAL2016'", "s = input()", "s", "input()", "input", "co = 0", "co", "0", "for i in range(len(c)):\n if s[i] != c[i]:\n co += 1\n ", "i", "range(len(c))", "range", "len(c)", "len", "c", "if s[i] != c[i]:\n co += 1\n ", "s[i] != c[i]", "s[i]", "s", "i", "c[i]", "c", "i", "co += 1", "co", "1", "print(co)", "print", "co", "co += 1", "1", "co", "c = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "c", "co = 0", "0", "co", "s = input()", "input()", "s" ]
c = 'CODEFESTIVAL2016' s = input() co = 0 for i in range(len(c)): if s[i] != c[i]: co += 1 print(co)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 0, 13, 18, 39, 17, 17, 40, 18, 13, 13, 18, 13, 13, 13, 10, 17, 13, 10, 4, 13, 10, 18, 13, 10, 17, 13 ]
[ [ 42, 2 ], [ 36, 5 ], [ 33, 9 ], [ 13, 12 ], [ 43, 17 ], [ 39, 19 ], [ 43, 26 ], [ 12, 27 ], [ 37, 29 ], [ 12, 30 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "s1 = 'CODEFESTIVAL2016'\ns2 = raw_input()\nans = 0\nfor i in range(len(s1)):\n ans += [0, 1][s1[i] != s2[i]]\nprint ans", "s1 = 'CODEFESTIVAL2016'", "s1", "'CODEFESTIVAL2016'", "s2 = raw_input()", "s2", "raw_input()", "raw_input", "ans = 0", "ans", "0", "for i in range(len(s1)):\n ans += [0, 1][s1[i] != s2[i]]", "i", "range(len(s1))", "range", "len(s1)", "len", "s1", "ans += [0, 1][s1[i] != s2[i]]", "ans", "[0, 1][s1[i] != s2[i]]", "[0, 1]", "0", "1", "s1[i] != s2[i]", "s1[i]", "s1", "i", "s2[i]", "s2", "i", "print", "ans = 0", "0", "ans", "s2 = raw_input()", "raw_input()", "s2", "ans += [0, 1][s1[i] != s2[i]]", "[0, 1][s1[i] != s2[i]]", "ans", "s1 = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "s1" ]
s1 = 'CODEFESTIVAL2016' s2 = raw_input() ans = 0 for i in range(len(s1)): ans += [0, 1][s1[i] != s2[i]] print ans
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 42, 6 ], [ 33, 9 ], [ 13, 12 ], [ 43, 17 ], [ 43, 21 ], [ 12, 22 ], [ 40, 24 ], [ 12, 25 ], [ 36, 27 ], [ 37, 31 ], [ 34, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "n = input()\na = \"CODEFESTIVAL2016\"\nc = 0\nfor i in range(len(a)):\n if a[i]!=n[i]:\n c+=1\nprint(c)", "n = input()", "n", "input()", "input", "a = \"CODEFESTIVAL2016\"", "a", "\"CODEFESTIVAL2016\"", "c = 0", "c", "0", "for i in range(len(a)):\n if a[i]!=n[i]:\n c+=1", "i", "range(len(a))", "range", "len(a)", "len", "a", "if a[i]!=n[i]:\n c+=1", "a[i]!=n[i]", "a[i]", "a", "i", "n[i]", "n", "i", "c+=1", "c", "1", "print(c)", "print", "c", "c = 0", "0", "c", "c+=1", "1", "c", "n = input()", "input()", "n", "a = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "a" ]
n = input() a = "CODEFESTIVAL2016" c = 0 for i in range(len(a)): if a[i]!=n[i]: c+=1 print(c)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 33, 2 ], [ 36, 6 ], [ 30, 9 ], [ 13, 12 ], [ 34, 17 ], [ 34, 21 ], [ 12, 22 ], [ 37, 24 ], [ 12, 25 ], [ 31, 28 ], [ 30, 31 ], [ 33, 34 ], [ 36, 37 ] ]
[ "s = input()\nr = \"CODEFESTIVAL2016\"\nans = 0\nfor i in range(len(s)):\n if s[i] != r[i]: ans += 1\nprint(ans)", "s = input()", "s", "input()", "input", "r = \"CODEFESTIVAL2016\"", "r", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i in range(len(s)):\n if s[i] != r[i]: ans += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != r[i]: ans +=", "s[i] != r[i]", "s[i]", "s", "i", "r[i]", "r", "i", "print(ans)", "print", "ans", "ans = 0", "0", "ans", "s = input()", "input()", "s", "r = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "r" ]
s = input() r = "CODEFESTIVAL2016" ans = 0 for i in range(len(s)): if s[i] != r[i]: ans += 1 print(ans)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 31, 2 ], [ 37, 5 ], [ 40, 9 ], [ 13, 12 ], [ 32, 17 ], [ 32, 21 ], [ 12, 22 ], [ 38, 24 ], [ 12, 25 ], [ 34, 27 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "a = \"CODEFESTIVAL2016\"\nb = raw_input()\nr = 0\nfor i in xrange(len(a)):\n\tif a[i] != b[i]:\n\t\tr += 1\nprint r", "a = \"CODEFESTIVAL2016\"", "a", "\"CODEFESTIVAL2016\"", "b = raw_input()", "b", "raw_input()", "raw_input", "r = 0", "r", "0", "for i in xrange(len(a)):\n\tif a[i] != b[i]:\n\t\tr += 1", "i", "xrange(len(a))", "xrange", "len(a)", "len", "a", "if a[i] != b[i]:\n\t\tr += 1", "a[i] != b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "r += 1", "r", "1", "print", "a = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "a", "r += 1", "1", "r", "b = raw_input()", "raw_input()", "b", "r = 0", "0", "r" ]
a = "CODEFESTIVAL2016" b = raw_input() r = 0 for i in xrange(len(a)): if a[i] != b[i]: r += 1 print r
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 17, 0, 13, 40, 18, 13, 13, 13, 4, 13, 13, 10, 40, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 31, 2 ], [ 28, 6 ], [ 25, 15 ], [ 32, 18 ], [ 26, 23 ], [ 29, 23 ], [ 25, 26 ], [ 28, 29 ], [ 31, 32 ] ]
[ "S = input()\ncnt=0\nfor i,c in enumerate(\"CODEFESTIVAL2016\"):\n cnt+=S[i]!=c\nprint(cnt)", "S = input()", "S", "input()", "input", "cnt=0", "cnt", "0", "for i,c in enumerate(\"CODEFESTIVAL2016\"):\n cnt+=S[i]!=c", "i", "c", "enumerate(\"CODEFESTIVAL2016\")", "enumerate", "\"CODEFESTIVAL2016\"", "cnt+=S[i]!=c", "cnt", "S[i]!=c", "S[i]", "S", "i", "c", "print(cnt)", "print", "cnt", "cnt+=S[i]!=c", "S[i]!=c", "cnt", "cnt=0", "0", "cnt", "S = input()", "input()", "S" ]
S = input() cnt=0 for i,c in enumerate("CODEFESTIVAL2016"): cnt+=S[i]!=c print(cnt)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 34, 6 ], [ 31, 9 ], [ 13, 12 ], [ 41, 19 ], [ 12, 20 ], [ 35, 22 ], [ 12, 23 ], [ 37, 25 ], [ 38, 29 ], [ 32, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "S = input()\ncorrect = \"CODEFESTIVAL2016\"\ncount = 0\nfor i in range(16):\n if S[i] != correct[i]:\n count += 1\nprint(count)", "S = input()", "S", "input()", "input", "correct = \"CODEFESTIVAL2016\"", "correct", "\"CODEFESTIVAL2016\"", "count = 0", "count", "0", "for i in range(16):\n if S[i] != correct[i]:\n count += 1", "i", "range(16)", "range", "16", "if S[i] != correct[i]:\n count += 1", "S[i] != correct[i]", "S[i]", "S", "i", "correct[i]", "correct", "i", "count += 1", "count", "1", "print(count)", "print", "count", "count = 0", "0", "count", "correct = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "correct", "count += 1", "1", "count", "S = input()", "input()", "S" ]
S = input() correct = "CODEFESTIVAL2016" count = 0 for i in range(16): if S[i] != correct[i]: count += 1 print(count)
[ 7, 0, 13, 4, 18, 4, 13, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 17, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 35, 2 ], [ 29, 9 ], [ 36, 16 ], [ 32, 23 ], [ 33, 27 ], [ 30, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ] ]
[ "S = input().strip()\nans = 0\nfor c1,c2 in zip(S,'CODEFESTIVAL2016'):\n if c1 != c2:\n ans += 1\nprint(ans)", "S = input().strip()", "S", "input().strip()", "().strip", "()", "input", "strip", "ans = 0", "ans", "0", "for c1,c2 in zip(S,'CODEFESTIVAL2016'):\n if c1 != c2:\n ans += 1", "c1", "c2", "zip(S,'CODEFESTIVAL2016')", "zip", "S", "'CODEFESTIVAL2016'", "if c1 != c2:\n ans += 1", "c1 != c2", "c1", "c2", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "ans = 0", "0", "ans", "ans += 1", "1", "ans", "S = input().strip()", "input().strip()", "S" ]
S = input().strip() ans = 0 for c1,c2 in zip(S,'CODEFESTIVAL2016'): if c1 != c2: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 35, 2 ], [ 29, 6 ], [ 38, 9 ], [ 36, 16 ], [ 30, 17 ], [ 32, 23 ], [ 33, 27 ], [ 39, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s = input()\ns2 = \"CODEFESTIVAL2016\"\nans = 0\nfor x, y in zip(s, s2):\n if x != y:\n ans += 1\nprint(ans)", "s = input()", "s", "input()", "input", "s2 = \"CODEFESTIVAL2016\"", "s2", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for x, y in zip(s, s2):\n if x != y:\n ans += 1", "x", "y", "zip(s, s2)", "zip", "s", "s2", "if x != y:\n ans += 1", "x != y", "x", "y", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "s2 = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "s2", "ans += 1", "1", "ans", "s = input()", "input()", "s", "ans = 0", "0", "ans" ]
s = input() s2 = "CODEFESTIVAL2016" ans = 0 for x, y in zip(s, s2): if x != y: ans += 1 print(ans)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 36, 5 ], [ 33, 9 ], [ 13, 12 ], [ 37, 17 ], [ 40, 21 ], [ 12, 22 ], [ 37, 24 ], [ 12, 25 ], [ 42, 27 ], [ 43, 31 ], [ 34, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "adequate = \"CODEFESTIVAL2016\"\nwrong = input()\ncnt = 0\n\nfor i in range(len(wrong)):\n if adequate[i] != wrong[i]:\n cnt += 1\n\nprint(cnt)", "adequate = \"CODEFESTIVAL2016\"", "adequate", "\"CODEFESTIVAL2016\"", "wrong = input()", "wrong", "input()", "input", "cnt = 0", "cnt", "0", "for i in range(len(wrong)):\n if adequate[i] != wrong[i]:\n cnt += 1", "i", "range(len(wrong))", "range", "len(wrong)", "len", "wrong", "if adequate[i] != wrong[i]:\n cnt += 1", "adequate[i] != wrong[i]", "adequate[i]", "adequate", "i", "wrong[i]", "wrong", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt = 0", "0", "cnt", "wrong = input()", "input()", "wrong", "adequate = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "adequate", "cnt += 1", "1", "cnt" ]
adequate = "CODEFESTIVAL2016" wrong = input() cnt = 0 for i in range(len(wrong)): if adequate[i] != wrong[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 43, 2 ], [ 37, 8 ], [ 46, 13 ], [ 17, 16 ], [ 44, 21 ], [ 44, 25 ], [ 16, 26 ], [ 38, 28 ], [ 16, 29 ], [ 40, 31 ], [ 41, 35 ], [ 47, 35 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "S = list(input())\ns = list(\"CODEFESTIVAL2016\")\n\nans = 0\nfor i in range(len(S)):\n if S[i] != s[i]:\n ans += 1\n\nprint(ans)", "S = list(input())", "S", "list(input())", "list", "input()", "input", "s = list(\"CODEFESTIVAL2016\")", "s", "list(\"CODEFESTIVAL2016\")", "list", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i in range(len(S)):\n if S[i] != s[i]:\n ans += 1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != s[i]:\n ans += 1", "S[i] != s[i]", "S[i]", "S", "i", "s[i]", "s", "i", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "s = list(\"CODEFESTIVAL2016\")", "list(\"CODEFESTIVAL2016\")", "s", "ans += 1", "1", "ans", "S = list(input())", "list(input())", "S", "ans = 0", "0", "ans" ]
S = list(input()) s = list("CODEFESTIVAL2016") ans = 0 for i in range(len(S)): if S[i] != s[i]: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 40, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 30, 6 ], [ 39, 9 ], [ 31, 16 ], [ 37, 21 ], [ 33, 24 ], [ 34, 28 ], [ 40, 28 ], [ 30, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ] ]
[ "S=input()\nT='CODEFESTIVAL2016'\ncnt=0\n\nfor i, w in enumerate(T):\n if w != S[i]:\n cnt+=1\nprint(cnt)", "S=input()", "S", "input()", "input", "T='CODEFESTIVAL2016'", "T", "'CODEFESTIVAL2016'", "cnt=0", "cnt", "0", "for i, w in enumerate(T):\n if w != S[i]:\n cnt+=1", "i", "w", "enumerate(T)", "enumerate", "T", "if w != S[i]:\n cnt+=1", "w != S[i]", "w", "S[i]", "S", "i", "cnt+=1", "cnt", "1", "print(cnt)", "print", "cnt", "T='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "T", "cnt+=1", "1", "cnt", "S=input()", "input()", "S", "cnt=0", "0", "cnt" ]
S=input() T='CODEFESTIVAL2016' cnt=0 for i, w in enumerate(T): if w != S[i]: cnt+=1 print(cnt)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 2, 13, 17, 4, 13, 13, 10, 2, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 41, 2 ], [ 38, 6 ], [ 44, 9 ], [ 13, 12 ], [ 39, 17 ], [ 42, 21 ], [ 12, 22 ], [ 39, 24 ], [ 12, 25 ], [ 35, 27 ], [ 45, 29 ], [ 36, 29 ], [ 36, 33 ], [ 45, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "s = input()\nc = \"CODEFESTIVAL2016\"\na = 0\nfor i in range(len(c)):\n if s[i] != c[i]:\n a = a + 1\nprint(a)", "s = input()", "s", "input()", "input", "c = \"CODEFESTIVAL2016\"", "c", "\"CODEFESTIVAL2016\"", "a = 0", "a", "0", "for i in range(len(c)):\n if s[i] != c[i]:\n a = a + 1", "i", "range(len(c))", "range", "len(c)", "len", "c", "if s[i] != c[i]:\n a = a + 1", "s[i] != c[i]", "s[i]", "s", "i", "c[i]", "c", "i", "a = a + 1", "a", "a + 1", "a", "1", "print(a)", "print", "a", "a = a + 1", "a + 1", "a", "c = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "c", "s = input()", "input()", "s", "a = 0", "0", "a" ]
s = input() c = "CODEFESTIVAL2016" a = 0 for i in range(len(c)): if s[i] != c[i]: a = a + 1 print(a)
[ 7, 0, 13, 17, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 14, 40, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 33, 2 ], [ 30, 5 ], [ 42, 8 ], [ 12, 11 ], [ 11, 16 ], [ 43, 18 ], [ 34, 19 ], [ 40, 19 ], [ 36, 21 ], [ 39, 24 ], [ 37, 28 ], [ 31, 28 ], [ 30, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "k=0\nt=0\ns='CODEFESTIVAL2016'\nfor x in input():\n if x!=s[k]:\n t+=1\n k+=1\nprint(t)", "k=0", "k", "0", "t=0", "t", "0", "s='CODEFESTIVAL2016'", "s", "'CODEFESTIVAL2016'", "for x in input():\n if x!=s[k]:\n t+=1\n k+=1", "x", "input()", "input", "if x!=s[k]:\n t+=1\n ", "x!=s[k]", "x", "s[k]", "s", "k", "t+=1", "t", "1", "k+=1", "k", "1", "print(t)", "print", "t", "t=0", "0", "t", "k=0", "0", "k", "t+=1", "1", "t", "k+=1", "1", "k", "s='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "s" ]
k=0 t=0 s='CODEFESTIVAL2016' for x in input(): if x!=s[k]: t+=1 k+=1 print(t)
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 40, 13, 18, 17, 13, 10, 4, 13 ]
[ [ 15, 2 ], [ 15, 16 ] ]
[ "S=input()\nprint(sum(s!=\"CODEFESTIVAL2016\"[i] for i,s in enumerate(S)))", "S=input()", "S", "input()", "input", "print(sum(s!=\"CODEFESTIVAL2016\"[i] for i,s in enumerate(S)))", "print", "sum(s!=\"CODEFESTIVAL2016\"[i] for i,s in enumerate(S))", "sum", "s!=\"CODEFESTIVAL2016\"[i]", "s", "\"CODEFESTIVAL2016\"[i]", "\"CODEFESTIVAL2016\"", "i", "S=input()", "input()", "S" ]
S=input() print(sum(s!="CODEFESTIVAL2016"[i] for i,s in enumerate(S)))
[ 7, 0, 13, 4, 13, 41, 28, 13, 4, 13, 4, 13, 13, 4, 40, 18, 13, 13, 18, 17, 13, 4, 13, 4, 13, 13, 10, 4, 13 ]
[ [ 27, 2 ], [ 8, 7 ], [ 28, 12 ], [ 28, 16 ], [ 7, 17 ], [ 7, 20 ], [ 27, 28 ] ]
[ "S=input()\nprint(sum([S[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(S))]))", "S=input()", "S", "input()", "input", "S[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(S))", "for i in range(len(S))", "i", "range(len(S))", "range", "len(S)", "len", "S", "for i in range(len(S))", "S[i]!=\"CODEFESTIVAL2016\"[i]", "S[i]", "S", "i", "\"CODEFESTIVAL2016\"[i]", "\"CODEFESTIVAL2016\"", "i", "print(sum([S[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(S))]))", "print", "sum([S[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(S))])", "sum", "[S[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(S))]", "S=input()", "input()", "S" ]
S=input() print(sum([S[i]!="CODEFESTIVAL2016"[i]for i in range(len(S))]))
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 17, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 4, 15 ], [ 23, 22 ], [ 22, 26 ], [ 8, 26 ], [ 31, 28 ] ]
[ "def solve():\n S = input()\n ans = 0\n for i, j in zip(S, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\n print(ans)\n \nsolve()", "def solve():\n S = input()\n ans = 0\n for i, j in zip(S, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\n print(ans)\n ", "solve", "S = input()", "S", "input()", "input", "ans = 0", "ans", "0", "for i, j in zip(S, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\n ", "i", "j", "zip(S, \"CODEFESTIVAL2016\")", "zip", "S", "\"CODEFESTIVAL2016\"", "if i != j:\n ans += 1\n ", "i != j", "i", "j", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "solve()", "solve", "def solve():\n S = input()\n ans = 0\n for i, j in zip(S, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\n print(ans)\n ", "def solve():\n S = input()\n ans = 0\n for i, j in zip(S, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\n print(ans)\n ", "solve" ]
def solve(): S = input() ans = 0 for i, j in zip(S, "CODEFESTIVAL2016"): if i != j: ans += 1 print(ans) solve()
[ 7, 0, 13, 4, 13, 0, 13, 17, 41, 28, 13, 4, 13, 17, 40, 18, 13, 13, 18, 13, 13, 4, 17, 4, 13, 4, 13, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 32, 2 ], [ 29, 6 ], [ 11, 10 ], [ 33, 16 ], [ 10, 17 ], [ 30, 19 ], [ 10, 20 ], [ 29, 30 ], [ 32, 33 ] ]
[ "s=input()\nt='CODEFESTIVAL2016'\nprint(sum([1 for i in range(16) if s[i]!=t[i]]))", "s=input()", "s", "input()", "input", "t='CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "1 for i in range(16) if s[i]!=t[i]", "for i in range(16) if s[i]!=t[i]", "i", "range(16)", "range", "16", "s[i]!=t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "if s[i]!=t[i]", "1", "print(sum([1 for i in range(16) if s[i]!=t[i]]))", "print", "sum([1 for i in range(16) if s[i]!=t[i]])", "sum", "[1 for i in range(16) if s[i]!=t[i]]", "t='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "t", "s=input()", "input()", "s" ]
s=input() t='CODEFESTIVAL2016' print(sum([1 for i in range(16) if s[i]!=t[i]]))
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 35, 2 ], [ 44, 8 ], [ 38, 11 ], [ 15, 14 ], [ 36, 19 ], [ 36, 23 ], [ 14, 24 ], [ 39, 26 ], [ 14, 27 ], [ 41, 29 ], [ 42, 33 ], [ 45, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "s = str(input())\ncnt = 0\nS = \"CODEFESTIVAL2016\"\nfor i in range(len(s)):\n if s[i] != S[i]:\n cnt += 1\nprint(cnt)", "s = str(input())", "s", "str(input())", "str", "input()", "input", "cnt = 0", "cnt", "0", "S = \"CODEFESTIVAL2016\"", "S", "\"CODEFESTIVAL2016\"", "for i in range(len(s)):\n if s[i] != S[i]:\n cnt += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != S[i]:\n cnt += 1", "s[i] != S[i]", "s[i]", "s", "i", "S[i]", "S", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "s = str(input())", "str(input())", "s", "S = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "S", "cnt += 1", "1", "cnt", "cnt = 0", "0", "cnt" ]
s = str(input()) cnt = 0 S = "CODEFESTIVAL2016" for i in range(len(s)): if s[i] != S[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 2, 13, 17, 4, 13, 13, 10, 2, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 42, 8 ], [ 45, 13 ], [ 17, 16 ], [ 49, 21 ], [ 49, 25 ], [ 16, 26 ], [ 43, 28 ], [ 16, 29 ], [ 39, 31 ], [ 46, 33 ], [ 40, 33 ], [ 40, 37 ], [ 46, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "S1=list(input())\nS2=list('CODEFESTIVAL2016')\ncnt=0\nfor i in range(len(S1)):\n if S1[i]!=S2[i]:\n cnt=cnt+1\n\nprint(cnt)", "S1=list(input())", "S1", "list(input())", "list", "input()", "input", "S2=list('CODEFESTIVAL2016')", "S2", "list('CODEFESTIVAL2016')", "list", "'CODEFESTIVAL2016'", "cnt=0", "cnt", "0", "for i in range(len(S1)):\n if S1[i]!=S2[i]:\n cnt=cnt+1", "i", "range(len(S1))", "range", "len(S1)", "len", "S1", "if S1[i]!=S2[i]:\n cnt=cnt+1", "S1[i]!=S2[i]", "S1[i]", "S1", "i", "S2[i]", "S2", "i", "cnt=cnt+1", "cnt", "cnt+1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt=cnt+1", "cnt+1", "cnt", "S2=list('CODEFESTIVAL2016')", "list('CODEFESTIVAL2016')", "S2", "cnt=0", "0", "cnt", "S1=list(input())", "list(input())", "S1" ]
S1=list(input()) S2=list('CODEFESTIVAL2016') cnt=0 for i in range(len(S1)): if S1[i]!=S2[i]: cnt=cnt+1 print(cnt)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 9, 0, 13, 2, 13, 17, 4, 13, 13, 10, 4, 13, 10, 2, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 45, 6 ], [ 42, 9 ], [ 13, 12 ], [ 46, 17 ], [ 37, 21 ], [ 12, 22 ], [ 46, 24 ], [ 12, 25 ], [ 39, 28 ], [ 43, 30 ], [ 40, 30 ], [ 40, 34 ], [ 43, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "a = input()\nb = \"CODEFESTIVAL2016\"\nc = 0\nfor i in range(len(b)):\n if a[i] == b[i]:\n continue\n else:\n c = c + 1\nprint(c)", "a = input()", "a", "input()", "input", "b = \"CODEFESTIVAL2016\"", "b", "\"CODEFESTIVAL2016\"", "c = 0", "c", "0", "for i in range(len(b)):\n if a[i] == b[i]:\n continue\n else:\n c = c + 1", "i", "range(len(b))", "range", "len(b)", "len", "b", "if a[i] == b[i]:\n continue\n else:\n c = c + 1", "a[i] == b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "continue", "c = c + 1", "c", "c + 1", "c", "1", "print(c)", "print", "c", "a = input()", "input()", "a", "c = c + 1", "c + 1", "c", "c = 0", "0", "c", "b = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "b" ]
a = input() b = "CODEFESTIVAL2016" c = 0 for i in range(len(b)): if a[i] == b[i]: continue else: c = c + 1 print(c)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 29, 2 ], [ 32, 6 ], [ 35, 9 ], [ 30, 16 ], [ 33, 17 ], [ 38, 23 ], [ 39, 27 ], [ 36, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "# codefest 2016, A - signboard\ns = input()\nr = 'CODEFESTIVAL2016'\n\ncount = 0\nfor el_s, el_r in zip(s, r):\n if el_s != el_r:\n count += 1\nprint(count)", "s = input()", "s", "input()", "input", "r = 'CODEFESTIVAL2016'", "r", "'CODEFESTIVAL2016'", "count = 0", "count", "0", "for el_s, el_r in zip(s, r):\n if el_s != el_r:\n count += 1", "el_s", "el_r", "zip(s, r)", "zip", "s", "r", "if el_s != el_r:\n count += 1", "el_s != el_r", "el_s", "el_r", "count += 1", "count", "1", "print(count)", "print", "count", "s = input()", "input()", "s", "r = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "r", "count = 0", "0", "count", "count += 1", "1", "count" ]
# 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)
[ 7, 14, 2, 13, 17, 0, 13, 17, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 33, 6 ], [ 42, 9 ], [ 36, 13 ], [ 43, 20 ], [ 34, 21 ], [ 39, 27 ], [ 40, 31 ], [ 37, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "# -*- coding: utf-8 -*-\n\n# CODE FESTIVAL 2016 qual A\n# Problem A\n\nif __name__ == '__main__':\n original = 'CODEFESTIVAL2016'\n s = input()\n count = 0\n\n for si, original_s in zip(s, original):\n if si != original_s:\n count += 1\n\n print(count)", "if __name__ == '__main__':\n original = 'CODEFESTIVAL2016'\n s = input()\n count = 0\n\n for si, original_s in zip(s, original):\n if si != original_s:\n count += 1\n\n print(count)", "__name__ == '__main__'", "__name__", "'__main__'", "original = 'CODEFESTIVAL2016'", "original", "'CODEFESTIVAL2016'", "s = input()", "s", "input()", "input", "count = 0", "count", "0", "for si, original_s in zip(s, original):\n if si != original_s:\n count += 1\n\n ", "si", "original_s", "zip(s, original)", "zip", "s", "original", "if si != original_s:\n count += 1\n\n ", "si != original_s", "si", "original_s", "count += 1", "count", "1", "print(count)", "print", "count", "original = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "original", "count = 0", "0", "count", "count += 1", "1", "count", "s = input()", "input()", "s" ]
# -*- coding: utf-8 -*- # CODE FESTIVAL 2016 qual A # Problem A 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)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 33, 6 ], [ 36, 9 ], [ 13, 12 ], [ 43, 17 ], [ 43, 21 ], [ 12, 22 ], [ 34, 24 ], [ 12, 25 ], [ 39, 27 ], [ 40, 31 ], [ 37, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\nCF = 'CODEFESTIVAL2016'\nans = 0\nfor i in range(len(S)):\n if S[i] != CF[i]:\n ans += 1\nprint(ans)", "S = input()", "S", "input()", "input", "CF = 'CODEFESTIVAL2016'", "CF", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for i in range(len(S)):\n if S[i] != CF[i]:\n ans += 1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != CF[i]:\n ans += 1", "S[i] != CF[i]", "S[i]", "S", "i", "CF[i]", "CF", "i", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "CF = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "CF", "ans = 0", "0", "ans", "ans += 1", "1", "ans", "S = input()", "input()", "S" ]
S = input() CF = 'CODEFESTIVAL2016' ans = 0 for i in range(len(S)): if S[i] != CF[i]: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 40, 18, 13, 13, 18, 17, 13, 10, 4, 13 ]
[ [ 17, 2 ], [ 18, 11 ], [ 17, 18 ] ]
[ "s=input();print(sum(s[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(s))))", "s=input()", "s", "input()", "input", "print(sum(s[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(s))))", "print", "sum(s[i]!=\"CODEFESTIVAL2016\"[i]for i in range(len(s)))", "sum", "s[i]!=\"CODEFESTIVAL2016\"[i]", "s[i]", "s", "i", "\"CODEFESTIVAL2016\"[i]", "\"CODEFESTIVAL2016\"", "i", "s=input()", "input()", "s" ]
s=input();print(sum(s[i]!="CODEFESTIVAL2016"[i]for i in range(len(s))))
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 0, 13, 8, 40, 13, 13, 17, 17, 4, 13, 13, 10, 4, 13, 10, 8, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 40, 2 ], [ 34, 8 ], [ 43, 13 ], [ 41, 20 ], [ 35, 21 ], [ 37, 23 ], [ 38, 32 ], [ 44, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ] ]
[ "a=list(input())\nb=list('CODEFESTIVAL2016')\ns=0\nfor i,j in zip(a,b):\n s+=1 if i!=j else 0\nprint(s)", "a=list(input())", "a", "list(input())", "list", "input()", "input", "b=list('CODEFESTIVAL2016')", "b", "list('CODEFESTIVAL2016')", "list", "'CODEFESTIVAL2016'", "s=0", "s", "0", "for i,j in zip(a,b):\n s+=1 if i!=j else 0", "i", "j", "zip(a,b)", "zip", "a", "b", "s+=1 if i!=j else 0", "s", "1 if i!=j else 0", "i!=j", "i", "j", "1", "0", "print(s)", "print", "s", "b=list('CODEFESTIVAL2016')", "list('CODEFESTIVAL2016')", "b", "s+=1 if i!=j else 0", "1 if i!=j else 0", "s", "a=list(input())", "list(input())", "a", "s=0", "0", "s" ]
a=list(input()) b=list('CODEFESTIVAL2016') s=0 for i,j in zip(a,b): s+=1 if i!=j else 0 print(s)
[ 7, 0, 13, 4, 13, 17, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 39, 7 ], [ 36, 13 ], [ 18, 17 ], [ 46, 24 ], [ 17, 25 ], [ 40, 27 ], [ 17, 28 ], [ 42, 30 ], [ 43, 34 ], [ 37, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "a =list('CODEFESTIVAL2016')\nb=list(input())\nans=int()\nfor i in range(16):\n if a[i]!=b[i]:\n ans+=1\nprint(ans)", "a =list('CODEFESTIVAL2016')", "a", "list('CODEFESTIVAL2016')", "list", "'CODEFESTIVAL2016'", "b=list(input())", "b", "list(input())", "list", "input()", "input", "ans=int()", "ans", "int()", "int", "for i in range(16):\n if a[i]!=b[i]:\n ans+=1", "i", "range(16)", "range", "16", "if a[i]!=b[i]:\n ans+=1", "a[i]!=b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "ans=int()", "int()", "ans", "b=list(input())", "list(input())", "b", "ans+=1", "1", "ans", "a =list('CODEFESTIVAL2016')", "list('CODEFESTIVAL2016')", "a" ]
a =list('CODEFESTIVAL2016') b=list(input()) ans=int() for i in range(16): if a[i]!=b[i]: ans+=1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 42, 2, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 47, 2 ], [ 44, 6 ], [ 50, 9 ], [ 53, 12 ], [ 54, 16 ], [ 39, 16 ], [ 45, 19 ], [ 48, 23 ], [ 54, 24 ], [ 39, 24 ], [ 45, 26 ], [ 54, 27 ], [ 39, 27 ], [ 41, 29 ], [ 38, 32 ], [ 42, 36 ], [ 51, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s=input()\n\nbb='CODEFESTIVAL2016'\n\nans=0\ni=0\nwhile i<len(bb):\n \n if s[i]!=bb[i]:\n ans+=1\n\n i+=1\n\nprint(ans)", "s=input()", "s", "input()", "input", "bb='CODEFESTIVAL2016'", "bb", "'CODEFESTIVAL2016'", "ans=0", "ans", "0", "i=0", "i", "0", "while i<len(bb):\n \n if s[i]!=bb[i]:\n ans+=1\n\n i+=1", "i<len(bb)", "i", "len(bb)", "len", "bb", "if s[i]!=bb[i]:\n ans+=1\n\n ", "s[i]!=bb[i]", "s[i]", "s", "i", "bb[i]", "bb", "i", "ans+=1", "ans", "1", "i+=1", "i", "1", "print(ans)", "print", "ans", "i+=1", "1", "i", "ans+=1", "1", "ans", "bb='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "bb", "s=input()", "input()", "s", "ans=0", "0", "ans", "i=0", "0", "i" ]
s=input() bb='CODEFESTIVAL2016' ans=0 i=0 while i<len(bb): if s[i]!=bb[i]: ans+=1 i+=1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 32, 2 ], [ 29, 6 ], [ 35, 9 ], [ 33, 16 ], [ 30, 17 ], [ 38, 23 ], [ 39, 27 ], [ 36, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "S = input()\ntarget = \"CODEFESTIVAL2016\"\n\nans = 0\nfor s, t in zip(S, target):\n if s != t:\n ans += 1\nprint(ans)", "S = input()", "S", "input()", "input", "target = \"CODEFESTIVAL2016\"", "target", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for s, t in zip(S, target):\n if s != t:\n ans += 1", "s", "t", "zip(S, target)", "zip", "S", "target", "if s != t:\n ans += 1", "s != t", "s", "t", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "target = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "target", "S = input()", "input()", "S", "ans = 0", "0", "ans", "ans += 1", "1", "ans" ]
S = input() target = "CODEFESTIVAL2016" ans = 0 for s, t in zip(S, target): if s != t: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 2, 13, 17, 4, 13, 13, 10, 2, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 54, 6 ], [ 52, 9 ], [ 45, 11 ], [ 48, 16 ], [ 20, 19 ], [ 55, 24 ], [ 55, 28 ], [ 19, 29 ], [ 46, 31 ], [ 19, 32 ], [ 42, 34 ], [ 49, 36 ], [ 43, 36 ], [ 43, 40 ], [ 49, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ] ]
[ "S = input()\n\nlist_S = list(S)\n\nlist_T = list(\"CODEFESTIVAL2016\")\n\nans = 0\nfor i in range(len(list_S)):\n if list_S[i] != list_T[i]:\n ans =ans +1\n\nprint(ans)", "S = input()", "S", "input()", "input", "list_S = list(S)", "list_S", "list(S)", "list", "S", "list_T = list(\"CODEFESTIVAL2016\")", "list_T", "list(\"CODEFESTIVAL2016\")", "list", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i in range(len(list_S)):\n if list_S[i] != list_T[i]:\n ans =ans +1", "i", "range(len(list_S))", "range", "len(list_S)", "len", "list_S", "if list_S[i] != list_T[i]:\n ans =ans +1", "list_S[i] != list_T[i]", "list_S[i]", "list_S", "i", "list_T[i]", "list_T", "i", "ans =ans +1", "ans", "ans +1", "ans", "1", "print(ans)", "print", "ans", "ans =ans +1", "ans +1", "ans", "list_T = list(\"CODEFESTIVAL2016\")", "list(\"CODEFESTIVAL2016\")", "list_T", "ans = 0", "0", "ans", "S = input()", "input()", "S", "list_S = list(S)", "list(S)", "list_S" ]
S = input() list_S = list(S) list_T = list("CODEFESTIVAL2016") ans = 0 for i in range(len(list_S)): if list_S[i] != list_T[i]: ans =ans +1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 2, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 37, 2 ], [ 34, 6 ], [ 40, 9 ], [ 13, 12 ], [ 38, 17 ], [ 38, 22 ], [ 12, 23 ], [ 35, 25 ], [ 12, 26 ], [ 43, 28 ], [ 44, 32 ], [ 41, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ] ]
[ "# Problem A - Signboard\n\n# input process\nS = input()\n\n# initialization\nteacher_data = \"CODEFESTIVAL2016\"\nswap_count = 0\n\n# count process\nfor i in range(len(S)):\n if not S[i]==teacher_data[i]:\n swap_count += 1\n\n# output process\nprint(swap_count)", "S = input()", "S", "input()", "input", "teacher_data = \"CODEFESTIVAL2016\"", "teacher_data", "\"CODEFESTIVAL2016\"", "swap_count = 0", "swap_count", "0", "for i in range(len(S)):\n if not S[i]==teacher_data[i]:\n swap_count += 1\n\n# output process", "i", "range(len(S))", "range", "len(S)", "len", "S", "if not S[i]==teacher_data[i]:\n swap_count += 1\n\n# output process", "not S[i]==teacher_data[i]", "S[i]==teacher_data[i]", "S[i]", "S", "i", "teacher_data[i]", "teacher_data", "i", "swap_count += 1", "swap_count", "1", "print(swap_count)", "print", "swap_count", "teacher_data = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "teacher_data", "S = input()", "input()", "S", "swap_count = 0", "0", "swap_count", "swap_count += 1", "1", "swap_count" ]
# Problem A - Signboard # input process S = input() # initialization teacher_data = "CODEFESTIVAL2016" swap_count = 0 # count process for i in range(len(S)): if not S[i]==teacher_data[i]: swap_count += 1 # output process print(swap_count)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 42, 6 ], [ 33, 9 ], [ 13, 12 ], [ 37, 17 ], [ 37, 21 ], [ 12, 22 ], [ 34, 24 ], [ 12, 25 ], [ 39, 27 ], [ 40, 31 ], [ 43, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\ncounter = 0\nbase ='CODEFESTIVAL2016'\nfor i in range(len(S)):\n if S[i] != base[i]:\n counter += 1\nprint(counter)", "S = input()", "S", "input()", "input", "counter = 0", "counter", "0", "base ='CODEFESTIVAL2016'", "base", "'CODEFESTIVAL2016'", "for i in range(len(S)):\n if S[i] != base[i]:\n counter += 1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != base[i]:\n counter += 1", "S[i] != base[i]", "S[i]", "S", "i", "base[i]", "base", "i", "counter += 1", "counter", "1", "print(counter)", "print", "counter", "base ='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "base", "S = input()", "input()", "S", "counter += 1", "1", "counter", "counter = 0", "0", "counter" ]
S = input() counter = 0 base ='CODEFESTIVAL2016' for i in range(len(S)): if S[i] != base[i]: counter += 1 print(counter)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 33, 6 ], [ 42, 9 ], [ 13, 12 ], [ 40, 17 ], [ 40, 21 ], [ 12, 22 ], [ 34, 24 ], [ 12, 25 ], [ 36, 27 ], [ 37, 31 ], [ 43, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\n\ntruth = \"CODEFESTIVAL2016\"\n\nc = 0\nfor i in range(len(S)) :\n if (S[i] != truth[i]) :\n c += 1\n\nprint(c)", "S = input()", "S", "input()", "input", "truth = \"CODEFESTIVAL2016\"", "truth", "\"CODEFESTIVAL2016\"", "c = 0", "c", "0", "for i in range(len(S)) :\n if (S[i] != truth[i]) :\n c += 1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if (S[i] != truth[i]) :\n c += 1", "S[i] != truth[i]", "S[i]", "S", "i", "truth[i]", "truth", "i", "c += 1", "c", "1", "print(c)", "print", "c", "truth = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "truth", "c += 1", "1", "c", "S = input()", "input()", "S", "c = 0", "0", "c" ]
S = input() truth = "CODEFESTIVAL2016" c = 0 for i in range(len(S)) : if (S[i] != truth[i]) : c += 1 print(c)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 29, 2 ], [ 35, 6 ], [ 32, 9 ], [ 30, 16 ], [ 36, 17 ], [ 38, 23 ], [ 39, 27 ], [ 33, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "S = input()\nS_right = 'CODEFESTIVAL2016'\n\ncnt = 0\nfor si, sri in zip(S, S_right):\n if si != sri:\n cnt += 1\n\nprint(cnt)", "S = input()", "S", "input()", "input", "S_right = 'CODEFESTIVAL2016'", "S_right", "'CODEFESTIVAL2016'", "cnt = 0", "cnt", "0", "for si, sri in zip(S, S_right):\n if si != sri:\n cnt += 1", "si", "sri", "zip(S, S_right)", "zip", "S", "S_right", "if si != sri:\n cnt += 1", "si != sri", "si", "sri", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "S = input()", "input()", "S", "cnt = 0", "0", "cnt", "S_right = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "S_right", "cnt += 1", "1", "cnt" ]
S = input() S_right = 'CODEFESTIVAL2016' cnt = 0 for si, sri in zip(S, S_right): if si != sri: cnt += 1 print(cnt)
[ 7, 0, 13, 17, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 55, 2 ], [ 49, 5 ], [ 43, 9 ], [ 56, 12 ], [ 46, 14 ], [ 50, 17 ], [ 58, 19 ], [ 23, 22 ], [ 44, 27 ], [ 44, 31 ], [ 22, 32 ], [ 47, 34 ], [ 22, 35 ], [ 52, 37 ], [ 53, 41 ], [ 59, 41 ], [ 43, 44 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ] ]
[ "a = 'CODEFESTIVAL2016'\nb = input()\nlista = list(a)\nlistb = list(b)\ncount = 0\nfor i in range(len(lista)):\n if lista[i]!=listb[i]:\n count+=1\nprint(count)", "a = 'CODEFESTIVAL2016'", "a", "'CODEFESTIVAL2016'", "b = input()", "b", "input()", "input", "lista = list(a)", "lista", "list(a)", "list", "a", "listb = list(b)", "listb", "list(b)", "list", "b", "count = 0", "count", "0", "for i in range(len(lista)):\n if lista[i]!=listb[i]:\n count+=1", "i", "range(len(lista))", "range", "len(lista)", "len", "lista", "if lista[i]!=listb[i]:\n count+=1", "lista[i]!=listb[i]", "lista[i]", "lista", "i", "listb[i]", "listb", "i", "count+=1", "count", "1", "print(count)", "print", "count", "lista = list(a)", "list(a)", "lista", "listb = list(b)", "list(b)", "listb", "b = input()", "input()", "b", "count+=1", "1", "count", "a = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "a", "count = 0", "0", "count" ]
a = 'CODEFESTIVAL2016' b = input() lista = list(a) listb = list(b) count = 0 for i in range(len(lista)): if lista[i]!=listb[i]: count+=1 print(count)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 32, 2 ], [ 38, 6 ], [ 35, 9 ], [ 33, 16 ], [ 39, 17 ], [ 29, 23 ], [ 30, 27 ], [ 36, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s = input()\nS = 'CODEFESTIVAL2016'\nans = 0\nfor c, C in zip(s, S):\n if c != C:\n ans += 1\nprint(ans)", "s = input()", "s", "input()", "input", "S = 'CODEFESTIVAL2016'", "S", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for c, C in zip(s, S):\n if c != C:\n ans += 1", "c", "C", "zip(s, S)", "zip", "s", "S", "if c != C:\n ans += 1", "c != C", "c", "C", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "ans += 1", "1", "ans", "s = input()", "input()", "s", "ans = 0", "0", "ans", "S = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "S" ]
s = input() S = 'CODEFESTIVAL2016' ans = 0 for c, C in zip(s, S): if c != C: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 28, 6 ], [ 31, 9 ], [ 13, 12 ], [ 35, 19 ], [ 12, 20 ], [ 29, 22 ], [ 12, 23 ], [ 32, 26 ], [ 28, 29 ], [ 31, 32 ], [ 34, 35 ] ]
[ "s = input()\nt = 'CODEFESTIVAL2016'\nans = 0\nfor i in range(16):\n if s[i] != t[i]: ans += 1\nprint(ans)", "s = input()", "s", "input()", "input", "t = 'CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for i in range(16):\n if s[i] != t[i]: ans += 1", "i", "range(16)", "range", "16", "if s[i] != t[i]: ans +=", "s[i] != t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "print(ans)", "print", "ans", "t = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "t", "ans = 0", "0", "ans", "s = input()", "input()", "s" ]
s = input() t = 'CODEFESTIVAL2016' ans = 0 for i in range(16): if s[i] != t[i]: ans += 1 print(ans)
[ 7, 0, 13, 17, 41, 28, 13, 4, 13, 4, 13, 0, 13, 13, 41, 28, 13, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 39, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 13, 13, 10, 17, 13, 10, 13, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 7, 6 ], [ 6, 10 ], [ 54, 12 ], [ 17, 16 ], [ 46, 16 ], [ 16, 19 ], [ 48, 21 ], [ 57, 24 ], [ 30, 27 ], [ 55, 32 ], [ 49, 33 ], [ 46, 33 ], [ 51, 39 ], [ 52, 43 ], [ 58, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ], [ 57, 58 ] ]
[ "A = \"CODEFESTIVAL2016\"\nS = [i for i in input()]\nA = [i for i in A]\ncount=0\nfor (s,a) in zip(S,A):\n if s!=a:\n count+=1\nprint(count)", "A = \"CODEFESTIVAL2016\"", "A", "\"CODEFESTIVAL2016\"", "i for i in input()", "for i in input()", "i", "input()", "input", "for i in input()", "i", "S = [i for i in input()]", "S", "[i for i in input()]", "i for i in A", "for i in A", "i", "A", "for i in A", "i", "A = [i for i in A]", "A", "[i for i in A]", "count=0", "count", "0", "for (s,a) in zip(S,A):\n if s!=a:\n count+=1", "(s,a)", "s", "a", "zip(S,A)", "zip", "S", "A", "if s!=a:\n count+=1", "s!=a", "s", "a", "count+=1", "count", "1", "print(count)", "print", "count", "A = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "A", "A = [i for i in A]", "[i for i in A]", "A", "count+=1", "1", "count", "S = [i for i in input()]", "[i for i in input()]", "S", "count=0", "0", "count" ]
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)
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 40, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 4, 18 ], [ 8, 23 ], [ 27, 26 ], [ 26, 30 ], [ 11, 30 ], [ 39, 36 ] ]
[ "def main():\n S = input()\n target = \"CODEFESTIVAL2016\"\n ans = 0\n for i, s in enumerate(S):\n if s != target[i]:\n ans += 1\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()", "def main():\n S = input()\n target = \"CODEFESTIVAL2016\"\n ans = 0\n for i, s in enumerate(S):\n if s != target[i]:\n ans += 1\n print(ans)", "main", "S = input()", "S", "input()", "input", "target = \"CODEFESTIVAL2016\"", "target", "\"CODEFESTIVAL2016\"", "ans = 0", "ans", "0", "for i, s in enumerate(S):\n if s != target[i]:\n ans += 1\n ", "i", "s", "enumerate(S)", "enumerate", "S", "if s != target[i]:\n ans += 1\n ", "s != target[i]", "s", "target[i]", "target", "i", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n S = input()\n target = \"CODEFESTIVAL2016\"\n ans = 0\n for i, s in enumerate(S):\n if s != target[i]:\n ans += 1\n print(ans)", "def main():\n S = input()\n target = \"CODEFESTIVAL2016\"\n ans = 0\n for i, s in enumerate(S):\n if s != target[i]:\n ans += 1\n print(ans)", "main" ]
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()
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 39, 6 ], [ 42, 9 ], [ 13, 12 ], [ 40, 17 ], [ 37, 21 ], [ 12, 22 ], [ 40, 24 ], [ 12, 25 ], [ 33, 27 ], [ 34, 31 ], [ 43, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\na = \"CODEFESTIVAL2016\"\ncnt = 0\n\nfor i in range(len(a)):\n if S[i] != a[i]:\n cnt += 1\n\nprint (cnt)", "S = input()", "S", "input()", "input", "a = \"CODEFESTIVAL2016\"", "a", "\"CODEFESTIVAL2016\"", "cnt = 0", "cnt", "0", "for i in range(len(a)):\n if S[i] != a[i]:\n cnt += 1", "i", "range(len(a))", "range", "len(a)", "len", "a", "if S[i] != a[i]:\n cnt += 1", "S[i] != a[i]", "S[i]", "S", "i", "a[i]", "a", "i", "cnt += 1", "cnt", "1", "print (cnt)", "print", "cnt", "cnt += 1", "1", "cnt", "S = input()", "input()", "S", "a = \"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "a", "cnt = 0", "0", "cnt" ]
S = input() a = "CODEFESTIVAL2016" cnt = 0 for i in range(len(a)): if S[i] != a[i]: cnt += 1 print (cnt)
[ 7, 0, 13, 4, 13, 41, 28, 13, 13, 4, 13, 13, 17, 4, 40, 13, 13, 4, 13, 4, 13, 13, 10, 4, 13 ]
[ [ 23, 2 ], [ 24, 11 ], [ 23, 24 ] ]
[ "Ss = input()\n\nprint(sum([S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')]))\n", "Ss = input()", "Ss", "input()", "input", "S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')", "for S, T in zip(Ss, 'CODEFESTIVAL2016')", "S", "T", "zip(Ss, 'CODEFESTIVAL2016')", "zip", "Ss", "'CODEFESTIVAL2016'", "for S, T in zip(Ss, 'CODEFESTIVAL2016')", "S != T", "S", "T", "print(sum([S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')]))", "print", "sum([S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')])", "sum", "[S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')]", "Ss = input()", "input()", "Ss" ]
Ss = input() print(sum([S != T for S, T in zip(Ss, 'CODEFESTIVAL2016')]))
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 33, 2 ], [ 39, 6 ], [ 42, 9 ], [ 13, 12 ], [ 34, 17 ], [ 34, 21 ], [ 12, 22 ], [ 40, 24 ], [ 12, 25 ], [ 36, 27 ], [ 37, 31 ], [ 43, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S=input()\nT='CODEFESTIVAL2016'\nc=0\nfor i in range(len(S)):\n if S[i] != T[i]:\n c+=1\nprint(c)", "S=input()", "S", "input()", "input", "T='CODEFESTIVAL2016'", "T", "'CODEFESTIVAL2016'", "c=0", "c", "0", "for i in range(len(S)):\n if S[i] != T[i]:\n c+=1", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] != T[i]:\n c+=1", "S[i] != T[i]", "S[i]", "S", "i", "T[i]", "T", "i", "c+=1", "c", "1", "print(c)", "print", "c", "S=input()", "input()", "S", "c+=1", "1", "c", "T='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "T", "c=0", "0", "c" ]
S=input() T='CODEFESTIVAL2016' c=0 for i in range(len(S)): if S[i] != T[i]: c+=1 print(c)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 41, 2 ], [ 44, 8 ], [ 35, 11 ], [ 15, 14 ], [ 45, 19 ], [ 45, 23 ], [ 14, 24 ], [ 42, 26 ], [ 14, 27 ], [ 38, 29 ], [ 39, 33 ], [ 36, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "S = str(input())\nA = 'CODEFESTIVAL2016'\ncnt = 0\nfor i in range(len(A)):\n if A[i] != S[i]:\n cnt += 1\nprint(cnt)", "S = str(input())", "S", "str(input())", "str", "input()", "input", "A = 'CODEFESTIVAL2016'", "A", "'CODEFESTIVAL2016'", "cnt = 0", "cnt", "0", "for i in range(len(A)):\n if A[i] != S[i]:\n cnt += 1", "i", "range(len(A))", "range", "len(A)", "len", "A", "if A[i] != S[i]:\n cnt += 1", "A[i] != S[i]", "A[i]", "A", "i", "S[i]", "S", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt = 0", "0", "cnt", "cnt += 1", "1", "cnt", "S = str(input())", "str(input())", "S", "A = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "A" ]
S = str(input()) A = 'CODEFESTIVAL2016' cnt = 0 for i in range(len(A)): if A[i] != S[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 41, 2 ], [ 35, 8 ], [ 44, 11 ], [ 15, 14 ], [ 42, 19 ], [ 42, 23 ], [ 14, 24 ], [ 36, 26 ], [ 14, 27 ], [ 38, 29 ], [ 39, 33 ], [ 45, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "s = list(input())\nt = 'CODEFESTIVAL2016'\ncnt = 0\nfor i in range(len(s)):\n if s[i] != t[i]:\n cnt += 1\n\nprint(cnt)", "s = list(input())", "s", "list(input())", "list", "input()", "input", "t = 'CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "cnt = 0", "cnt", "0", "for i in range(len(s)):\n if s[i] != t[i]:\n cnt += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != t[i]:\n cnt += 1", "s[i] != t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "t = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "t", "cnt += 1", "1", "cnt", "s = list(input())", "list(input())", "s", "cnt = 0", "0", "cnt" ]
s = list(input()) t = 'CODEFESTIVAL2016' cnt = 0 for i in range(len(s)): if s[i] != t[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 34, 6 ], [ 37, 9 ], [ 13, 12 ], [ 41, 19 ], [ 12, 20 ], [ 35, 22 ], [ 12, 23 ], [ 31, 25 ], [ 32, 29 ], [ 38, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s=input()\na=\"CODEFESTIVAL2016\"\ncount=0\nfor i in range(16):\n if(s[i] != a[i]):\n count += 1\nprint(count)", "s=input()", "s", "input()", "input", "a=\"CODEFESTIVAL2016\"", "a", "\"CODEFESTIVAL2016\"", "count=0", "count", "0", "for i in range(16):\n if(s[i] != a[i]):\n count += 1", "i", "range(16)", "range", "16", "if(s[i] != a[i]):\n count += 1", "s[i] != a[i]", "s[i]", "s", "i", "a[i]", "a", "i", "count += 1", "count", "1", "print(count)", "print", "count", "count += 1", "1", "count", "a=\"CODEFESTIVAL2016\"", "\"CODEFESTIVAL2016\"", "a", "count=0", "0", "count", "s=input()", "input()", "s" ]
s=input() a="CODEFESTIVAL2016" count=0 for i in range(16): if(s[i] != a[i]): count += 1 print(count)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 0, 13, 8, 40, 18, 13, 13, 18, 13, 13, 17, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 8, 13, 10, 4, 13 ]
[ [ 43, 2 ], [ 34, 6 ], [ 37, 9 ], [ 13, 12 ], [ 44, 17 ], [ 40, 19 ], [ 44, 23 ], [ 12, 24 ], [ 35, 26 ], [ 12, 27 ], [ 41, 32 ], [ 38, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ] ]
[ "s=input()\na='CODEFESTIVAL2016'\nans=0\nfor i in range(len(s)):\n ans+=1 if s[i]!=a[i] else 0\nprint(ans)", "s=input()", "s", "input()", "input", "a='CODEFESTIVAL2016'", "a", "'CODEFESTIVAL2016'", "ans=0", "ans", "0", "for i in range(len(s)):\n ans+=1 if s[i]!=a[i] else 0", "i", "range(len(s))", "range", "len(s)", "len", "s", "ans+=1 if s[i]!=a[i] else 0", "ans", "1 if s[i]!=a[i] else 0", "s[i]!=a[i]", "s[i]", "s", "i", "a[i]", "a", "i", "1", "0", "print(ans)", "print", "ans", "a='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "a", "ans=0", "0", "ans", "ans+=1 if s[i]!=a[i] else 0", "1 if s[i]!=a[i] else 0", "ans", "s=input()", "input()", "s" ]
s=input() a='CODEFESTIVAL2016' ans=0 for i in range(len(s)): ans+=1 if s[i]!=a[i] else 0 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 26, 2 ], [ 29, 6 ], [ 32, 9 ], [ 27, 16 ], [ 30, 17 ], [ 33, 24 ], [ 26, 27 ], [ 29, 30 ], [ 32, 33 ] ]
[ "S=input()\nT='CODEFESTIVAL2016'\nans=0\nfor s,t in zip(S,T):\n if s!=t: ans+=1\nprint(ans)", "S=input()", "S", "input()", "input", "T='CODEFESTIVAL2016'", "T", "'CODEFESTIVAL2016'", "ans=0", "ans", "0", "for s,t in zip(S,T):\n if s!=t: ans+=1", "s", "t", "zip(S,T)", "zip", "S", "T", "if s!=t: an", "s!=t", "s", "t", "print(ans)", "print", "ans", "S=input()", "input()", "S", "T='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "T", "ans=0", "0", "ans" ]
S=input() T='CODEFESTIVAL2016' ans=0 for s,t in zip(S,T): if s!=t: ans+=1 print(ans)
[ 7, 0, 13, 17, 0, 13, 17, 0, 13, 4, 13, 28, 13, 4, 13, 17, 0, 13, 40, 18, 13, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 40, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 29, 2 ], [ 35, 5 ], [ 38, 8 ], [ 13, 12 ], [ 32, 17 ], [ 30, 20 ], [ 12, 21 ], [ 39, 23 ], [ 12, 24 ], [ 33, 27 ], [ 36, 27 ], [ 29, 30 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s='CODEFESTIVAL2016'\ncnt=0\nss=input()\nfor i in range(16):\n\tcnt+=(s[i]!=ss[i])\nprint(cnt)", "s='CODEFESTIVAL2016'", "s", "'CODEFESTIVAL2016'", "cnt=0", "cnt", "0", "ss=input()", "ss", "input()", "input", "for i in range(16):\n\tcnt+=(s[i]!=ss[i])", "i", "range(16)", "range", "16", "cnt+=(s[i]!=ss[i])", "cnt", "s[i]!=ss[i]", "s[i]", "s", "i", "ss[i]", "ss", "i", "print(cnt)", "print", "cnt", "s='CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "s", "cnt+=(s[i]!=ss[i])", "s[i]!=ss[i]", "cnt", "cnt=0", "0", "cnt", "ss=input()", "input()", "ss" ]
s='CODEFESTIVAL2016' cnt=0 ss=input() for i in range(16): cnt+=(s[i]!=ss[i]) print(cnt)
[ 7, 0, 13, 17, 0, 13, 4, 13, 41, 28, 13, 13, 4, 13, 13, 13, 4, 40, 13, 13, 4, 13, 4, 13, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 29, 2 ], [ 26, 5 ], [ 30, 14 ], [ 27, 15 ], [ 26, 27 ], [ 29, 30 ] ]
[ "# CODE FESTIVAL 2016 予選 B: A – Signboard\nexpects = 'CODEFESTIVAL2016'\ns = input()\nprint(sum([a != b for a, b in zip(expects, s)]))", "expects = 'CODEFESTIVAL2016'", "expects", "'CODEFESTIVAL2016'", "s = input()", "s", "input()", "input", "a != b for a, b in zip(expects, s)", "for a, b in zip(expects, s)", "a", "b", "zip(expects, s)", "zip", "expects", "s", "for a, b in zip(expects, s)", "a != b", "a", "b", "print(sum([a != b for a, b in zip(expects, s)]))", "print", "sum([a != b for a, b in zip(expects, s)])", "sum", "[a != b for a, b in zip(expects, s)]", "s = input()", "input()", "s", "expects = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "expects" ]
# CODE FESTIVAL 2016 予選 B: A – Signboard expects = 'CODEFESTIVAL2016' s = input() print(sum([a != b for a, b in zip(expects, s)]))
[ 7, 15, 0, 13, 4, 18, 4, 18, 13, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 38, 3 ], [ 41, 12 ], [ 44, 15 ], [ 39, 22 ], [ 42, 23 ], [ 35, 29 ], [ 36, 33 ], [ 45, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "from sys import stdin\nS = stdin.readline().rstrip()\nsign = 'CODEFESTIVAL2016'\nans = 0\nfor a, b in zip(S, sign):\n if a != b:\n ans += 1\nprint(ans)", "from sys import stdin", "S = stdin.readline().rstrip()", "S", "stdin.readline().rstrip()", "stdin.readline().rstrip", "stdin.readline()", "stdin.readline", "stdin", "readline", "rstrip", "sign = 'CODEFESTIVAL2016'", "sign", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for a, b in zip(S, sign):\n if a != b:\n ans += 1", "a", "b", "zip(S, sign)", "zip", "S", "sign", "if a != b:\n ans += 1", "a != b", "a", "b", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "ans += 1", "1", "ans", "S = stdin.readline().rstrip()", "stdin.readline().rstrip()", "S", "sign = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "sign", "ans = 0", "0", "ans" ]
from sys import stdin S = stdin.readline().rstrip() sign = 'CODEFESTIVAL2016' ans = 0 for a, b in zip(S, sign): if a != b: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 40, 13, 18, 17, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 27, 2 ], [ 33, 6 ], [ 28, 13 ], [ 30, 21 ], [ 31, 25 ], [ 34, 25 ], [ 27, 28 ], [ 30, 31 ], [ 33, 34 ] ]
[ "S = input()\ncnt = 0\nfor idx, val in enumerate(S):\n if val != 'CODEFESTIVAL2016'[idx]:\n cnt += 1\n\nprint(cnt)", "S = input()", "S", "input()", "input", "cnt = 0", "cnt", "0", "for idx, val in enumerate(S):\n if val != 'CODEFESTIVAL2016'[idx]:\n cnt += 1", "idx", "val", "enumerate(S)", "enumerate", "S", "if val != 'CODEFESTIVAL2016'[idx]:\n cnt += 1", "val != 'CODEFESTIVAL2016'[idx]", "val", "'CODEFESTIVAL2016'[idx]", "'CODEFESTIVAL2016'", "idx", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "S = input()", "input()", "S", "cnt += 1", "1", "cnt", "cnt = 0", "0", "cnt" ]
S = input() cnt = 0 for idx, val in enumerate(S): if val != 'CODEFESTIVAL2016'[idx]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 17, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 36, 7 ], [ 39, 13 ], [ 43, 20 ], [ 37, 21 ], [ 33, 27 ], [ 34, 31 ], [ 40, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "A = list('CODEFESTIVAL2016')\nB = list(input())\n\n\nt = 0\nfor i, j in zip(A, B):\n if i != j:\n t += 1\nprint(t)", "A = list('CODEFESTIVAL2016')", "A", "list('CODEFESTIVAL2016')", "list", "'CODEFESTIVAL2016'", "B = list(input())", "B", "list(input())", "list", "input()", "input", "t = 0", "t", "0", "for i, j in zip(A, B):\n if i != j:\n t += 1", "i", "j", "zip(A, B)", "zip", "A", "B", "if i != j:\n t += 1", "i != j", "i", "j", "t += 1", "t", "1", "print(t)", "print", "t", "t += 1", "1", "t", "B = list(input())", "list(input())", "B", "t = 0", "0", "t", "A = list('CODEFESTIVAL2016')", "list('CODEFESTIVAL2016')", "A" ]
A = list('CODEFESTIVAL2016') B = list(input()) t = 0 for i, j in zip(A, B): if i != j: t += 1 print(t)
[ 7, 0, 13, 4, 13, 41, 28, 13, 13, 4, 13, 17, 13, 40, 13, 13, 4, 13, 4, 13, 4, 13, 13, 10, 4, 13 ]
[ [ 24, 2 ], [ 25, 12 ], [ 24, 25 ] ]
[ "s = input()\n\nprint(len([a for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b]))", "s = input()", "s", "input()", "input", "a for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b", "for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b", "a", "b", "zip(\"CODEFESTIVAL2016\", s)", "zip", "\"CODEFESTIVAL2016\"", "s", "a != b", "a", "b", "if a != b", "a", "print(len([a for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b]))", "print", "len([a for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b])", "len", "[a for a, b in zip(\"CODEFESTIVAL2016\", s) if a != b]", "s = input()", "input()", "s" ]
s = input() print(len([a for a, b in zip("CODEFESTIVAL2016", s) if a != b]))
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 13, 14, 2, 13, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 4, 18 ], [ 8, 19 ], [ 26, 25 ], [ 25, 29 ], [ 11, 29 ], [ 38, 35 ] ]
[ "def main():\n S = input()\n ans = \"CODEFESTIVAL2016\"\n cnt = 0\n for s,a in zip(S,ans):\n if s==a:\n pass\n else:\n cnt += 1\n print(cnt)\n \nif __name__ == '__main__':\n main()", "def main():\n S = input()\n ans = \"CODEFESTIVAL2016\"\n cnt = 0\n for s,a in zip(S,ans):\n if s==a:\n pass\n else:\n cnt += 1\n print(cnt)\n ", "main", "S = input()", "S", "input()", "input", "ans = \"CODEFESTIVAL2016\"", "ans", "\"CODEFESTIVAL2016\"", "cnt = 0", "cnt", "0", "for s,a in zip(S,ans):\n if s==a:\n pass\n else:\n cnt += 1\n ", "s", "a", "zip(S,ans)", "zip", "S", "ans", "if s==a:\n pass\n else:\n cnt += 1\n ", "s==a", "s", "a", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n S = input()\n ans = \"CODEFESTIVAL2016\"\n cnt = 0\n for s,a in zip(S,ans):\n if s==a:\n pass\n else:\n cnt += 1\n print(cnt)\n ", "def main():\n S = input()\n ans = \"CODEFESTIVAL2016\"\n cnt = 0\n for s,a in zip(S,ans):\n if s==a:\n pass\n else:\n cnt += 1\n print(cnt)\n ", "main" ]
def main(): S = input() ans = "CODEFESTIVAL2016" cnt = 0 for s,a in zip(S,ans): if s==a: pass else: cnt += 1 print(cnt) if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 40, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 48, 6 ], [ 33, 9 ], [ 42, 12 ], [ 16, 15 ], [ 40, 15 ], [ 15, 19 ], [ 43, 21 ], [ 34, 22 ], [ 46, 22 ], [ 36, 24 ], [ 45, 27 ], [ 37, 31 ], [ 49, 31 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "s = input()\nc = 0\ni = 0\ntest = 'CODEFESTIVAL2016'\nfor k in s:\n if k != test[i]:\n c += 1\n i += 1\n\nprint(c) ", "s = input()", "s", "input()", "input", "c = 0", "c", "0", "i = 0", "i", "0", "test = 'CODEFESTIVAL2016'", "test", "'CODEFESTIVAL2016'", "for k in s:\n if k != test[i]:\n c += 1\n i += 1", "k", "s", "if k != test[i]:\n c += 1\n ", "k != test[i]", "k", "test[i]", "test", "i", "c += 1", "c", "1", "i += 1", "i", "1", "print(c)", "print", "c", "i = 0", "0", "i", "c += 1", "1", "c", "s = input()", "input()", "s", "test = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "test", "i += 1", "1", "i", "c = 0", "0", "c" ]
s = input() c = 0 i = 0 test = 'CODEFESTIVAL2016' for k in s: if k != test[i]: c += 1 i += 1 print(c)
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 17, 14, 40, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 32, 2 ], [ 29, 6 ], [ 33, 13 ], [ 26, 20 ], [ 27, 24 ], [ 30, 24 ], [ 26, 27 ], [ 29, 30 ], [ 32, 33 ] ]
[ "s = input()\nans = 0\nfor i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1\nprint(ans)", "s = input()", "s", "input()", "input", "ans = 0", "ans", "0", "for i, j in zip(s, \"CODEFESTIVAL2016\"):\n if i != j:\n ans += 1", "i", "j", "zip(s, \"CODEFESTIVAL2016\")", "zip", "s", "\"CODEFESTIVAL2016\"", "if i != j:\n ans += 1", "i != j", "i", "j", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "ans += 1", "1", "ans", "ans = 0", "0", "ans", "s = input()", "input()", "s" ]
s = input() ans = 0 for i, j in zip(s, "CODEFESTIVAL2016"): if i != j: ans += 1 print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 34, 2 ], [ 40, 6 ], [ 31, 9 ], [ 13, 12 ], [ 35, 19 ], [ 12, 20 ], [ 41, 22 ], [ 12, 23 ], [ 37, 25 ], [ 38, 29 ], [ 32, 29 ], [ 31, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "S = input()\nr = 'CODEFESTIVAL2016'\ncnt = 0\nfor i in range(16):\n if S[i] != r[i]:\n cnt += 1\nprint(cnt)", "S = input()", "S", "input()", "input", "r = 'CODEFESTIVAL2016'", "r", "'CODEFESTIVAL2016'", "cnt = 0", "cnt", "0", "for i in range(16):\n if S[i] != r[i]:\n cnt += 1", "i", "range(16)", "range", "16", "if S[i] != r[i]:\n cnt += 1", "S[i] != r[i]", "S[i]", "S", "i", "r[i]", "r", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt = 0", "0", "cnt", "S = input()", "input()", "S", "cnt += 1", "1", "cnt", "r = 'CODEFESTIVAL2016'", "'CODEFESTIVAL2016'", "r" ]
S = input() r = 'CODEFESTIVAL2016' cnt = 0 for i in range(16): if S[i] != r[i]: cnt += 1 print(cnt)
[ 7, 15, 15, 13, 4, 18, 13, 13, 2, 2, 17, 17, 17, 15, 15, 13, 13, 15, 13, 15, 13, 15, 13, 15, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 28, 27 ], [ 32, 31 ], [ 35, 34 ], [ 38, 37 ], [ 27, 42 ], [ 27, 46 ], [ 37, 47 ], [ 31, 49 ], [ 37, 50 ], [ 53, 52 ], [ 52, 56 ], [ 34, 56 ], [ 65, 62 ] ]
[ "from collections import Counter, defaultdict\nimport sys\nsys.setrecursionlimit(10 ** 5 + 10)\n# input = sys.stdin.readline\nfrom math import factorial\nimport heapq, bisect\nimport math\nimport itertools\n\n\nimport queue\nfrom collections import deque\n\n\n\n\ndef main():\n s = input()\n t = 'CODEFESTIVAL2016'\n ans = 0\n for i in range(len(s)):\n if s[i] != t[i]:\n ans += 1\n print(ans)\n\n\n\nif __name__ == '__main__':\n main()\n", "from collections import Counter, defaultdict", "import sys", "sys", "sys.setrecursionlimit(10 ** 5 + 10)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 5 + 10", "10 ** 5", "10", "5", "10", "from math import factorial", "import heapq, bisect", "heapq", "bisect", "import math", "math", "import itertools", "itertools", "import queue", "queue", "from collections import deque", "def main():\n s = input()\n t = 'CODEFESTIVAL2016'\n ans = 0\n for i in range(len(s)):\n if s[i] != t[i]:\n ans += 1\n print(ans)", "main", "s = input()", "s", "input()", "input", "t = 'CODEFESTIVAL2016'", "t", "'CODEFESTIVAL2016'", "ans = 0", "ans", "0", "for i in range(len(s)):\n if s[i] != t[i]:\n ans += 1\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] != t[i]:\n ans += 1\n ", "s[i] != t[i]", "s[i]", "s", "i", "t[i]", "t", "i", "ans += 1", "ans", "1", "print(ans)", "print", "ans", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n s = input()\n t = 'CODEFESTIVAL2016'\n ans = 0\n for i in range(len(s)):\n if s[i] != t[i]:\n ans += 1\n print(ans)", "def main():\n s = input()\n t = 'CODEFESTIVAL2016'\n ans = 0\n for i in range(len(s)):\n if s[i] != t[i]:\n ans += 1\n print(ans)", "main" ]
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()
[ 7, 0, 13, 4, 13, 17, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 43, 7 ], [ 37, 13 ], [ 17, 16 ], [ 47, 21 ], [ 44, 25 ], [ 16, 26 ], [ 47, 28 ], [ 16, 29 ], [ 40, 31 ], [ 41, 35 ], [ 38, 35 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "a = list('CODEFESTIVAL2016')\nb = list(input())\ncnt = 0\nfor i in range(len(a)):\n if b[i] != a[i]:\n \tcnt += 1\nprint(cnt)", "a = list('CODEFESTIVAL2016')", "a", "list('CODEFESTIVAL2016')", "list", "'CODEFESTIVAL2016'", "b = list(input())", "b", "list(input())", "list", "input()", "input", "cnt = 0", "cnt", "0", "for i in range(len(a)):\n if b[i] != a[i]:\n \tcnt += 1", "i", "range(len(a))", "range", "len(a)", "len", "a", "if b[i] != a[i]:\n \tcnt += 1", "b[i] != a[i]", "b[i]", "b", "i", "a[i]", "a", "i", "cnt += 1", "cnt", "1", "print(cnt)", "print", "cnt", "cnt = 0", "0", "cnt", "cnt += 1", "1", "cnt", "b = list(input())", "list(input())", "b", "a = list('CODEFESTIVAL2016')", "list('CODEFESTIVAL2016')", "a" ]
a = list('CODEFESTIVAL2016') b = list(input()) cnt = 0 for i in range(len(a)): if b[i] != a[i]: cnt += 1 print(cnt)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 14, 40, 18, 13, 13, 18, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 35, 2 ], [ 38, 8 ], [ 41, 13 ], [ 17, 16 ], [ 36, 23 ], [ 16, 24 ], [ 39, 26 ], [ 16, 27 ], [ 44, 29 ], [ 45, 33 ], [ 42, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "S=list(input())\nL=list(\"CODEFESTIVAL2016\")\nans=0\nfor i in range(16):\n if(S[i]!=L[i]):\n ans+=1\nprint(ans)", "S=list(input())", "S", "list(input())", "list", "input()", "input", "L=list(\"CODEFESTIVAL2016\")", "L", "list(\"CODEFESTIVAL2016\")", "list", "\"CODEFESTIVAL2016\"", "ans=0", "ans", "0", "for i in range(16):\n if(S[i]!=L[i]):\n ans+=1", "i", "range(16)", "range", "16", "if(S[i]!=L[i]):\n ans+=1", "S[i]!=L[i]", "S[i]", "S", "i", "L[i]", "L", "i", "ans+=1", "ans", "1", "print(ans)", "print", "ans", "S=list(input())", "list(input())", "S", "L=list(\"CODEFESTIVAL2016\")", "list(\"CODEFESTIVAL2016\")", "L", "ans=0", "0", "ans", "ans+=1", "1", "ans" ]
S=list(input()) L=list("CODEFESTIVAL2016") ans=0 for i in range(16): if(S[i]!=L[i]): ans+=1 print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 14, 2, 2, 18, 13, 13, 17, 2, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 14, 2, 2, 18, 13, 13, 17, 2, 13, 2, 13, 13, 14, 40, 13, 13, 4, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 110, 2 ], [ 110, 11 ], [ 110, 12 ], [ 98, 14 ], [ 107, 18 ], [ 99, 21 ], [ 116, 23 ], [ 101, 26 ], [ 30, 29 ], [ 96, 32 ], [ 108, 36 ], [ 29, 37 ], [ 108, 46 ], [ 29, 47 ], [ 117, 50 ], [ 114, 50 ], [ 105, 50 ], [ 93, 52 ], [ 111, 53 ], [ 104, 58 ], [ 108, 64 ], [ 29, 65 ], [ 117, 68 ], [ 114, 68 ], [ 105, 68 ], [ 93, 70 ], [ 111, 71 ], [ 102, 74 ], [ 120, 74 ], [ 111, 75 ], [ 119, 80 ], [ 113, 83 ], [ 110, 93 ], [ 110, 96 ], [ 98, 99 ], [ 101, 102 ], [ 104, 105 ], [ 107, 108 ], [ 110, 111 ], [ 113, 114 ], [ 116, 117 ], [ 119, 120 ] ]
[ "N,A,B = map(int, input().split())\nli = input()\npl_type = list(li)\ntuuka_sum = 0\nfore_rank = 1\nfor i in range(N):\n if pl_type[i] == 'c':\n print('No')\n elif pl_type[i] == 'a' and tuuka_sum < A+B:\n print('Yes')\n tuuka_sum += 1\n elif pl_type[i] == 'b' and tuuka_sum < A+B:\n if fore_rank <= B:\n print('Yes')\n fore_rank += 1\n tuuka_sum += 1\n else:\n print('No')\n else:\n print('No')", "N,A,B = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "li = input()", "li", "input()", "input", "pl_type = list(li)", "pl_type", "list(li)", "list", "li", "tuuka_sum = 0", "tuuka_sum", "0", "fore_rank = 1", "fore_rank", "1", "for i in range(N):\n if pl_type[i] == 'c':\n print('No')\n elif pl_type[i] == 'a' and tuuka_sum < A+B:\n print('Yes')\n tuuka_sum += 1\n elif pl_type[i] == 'b' and tuuka_sum < A+B:\n if fore_rank <= B:\n print('Yes')\n fore_rank += 1\n tuuka_sum += 1\n else:\n print('No')\n else:\n print('No')", "i", "range(N)", "range", "N", "if pl_type[i] == 'c':\n print('No')\n elif pl_type[i] == 'a' and tuuka_sum < A+B:\n print('Yes')\n tuuka_sum += 1\n elif pl_type[i] == 'b' and tuuka_sum < A+B:\n if fore_rank <= B:\n print('Yes')\n fore_rank += 1\n tuuka_sum += 1\n else:\n print('No')\n else:\n print('No')", "pl_type[i] == 'c'", "pl_type[i]", "pl_type", "i", "'c'", "print('No')", "print", "'No'", "elif pl_type[i] == 'a' and tuuka_sum < A+B:\n print('Yes')\n tuuka_sum += 1\n ", "pl_type[i] == 'a' and tuuka_sum < A+B", "pl_type[i] == 'a'", "pl_type[i]", "pl_type", "i", "'a'", "tuuka_sum < A+B", "tuuka_sum", "A+B", "A", "B", "print('Yes')", "print", "'Yes'", "tuuka_sum += 1", "tuuka_sum", "1", "elif pl_type[i] == 'b' and tuuka_sum < A+B:\n if fore_rank <= B:\n print('Yes')\n fore_rank += 1\n tuuka_sum += 1\n else:\n print('No')\n ", "pl_type[i] == 'b' and tuuka_sum < A+B", "pl_type[i] == 'b'", "pl_type[i]", "pl_type", "i", "'b'", "tuuka_sum < A+B", "tuuka_sum", "A+B", "A", "B", "if fore_rank <= B:\n print('Yes')\n fore_rank += 1\n tuuka_sum += 1\n else:\n print('No')\n ", "fore_rank <= B", "fore_rank", "B", "print('Yes')", "print", "'Yes'", "fore_rank += 1", "fore_rank", "1", "tuuka_sum += 1", "tuuka_sum", "1", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "A,B = map(int, input().split())", "map(int, input().split())", "A", "N,A,B = map(int, input().split())", "map(int, input().split())", "N", "li = input()", "input()", "li", "fore_rank = 1", "1", "fore_rank", "tuuka_sum += 1", "1", "tuuka_sum", "pl_type = list(li)", "list(li)", "pl_type", "B = map(int, input().split())", "map(int, input().split())", "B", "tuuka_sum += 1", "1", "tuuka_sum", "tuuka_sum = 0", "0", "tuuka_sum", "fore_rank += 1", "1", "fore_rank" ]
N,A,B = map(int, input().split()) li = input() pl_type = list(li) tuuka_sum = 0 fore_rank = 1 for i in range(N): if pl_type[i] == 'c': print('No') elif pl_type[i] == 'a' and tuuka_sum < A+B: print('Yes') tuuka_sum += 1 elif pl_type[i] == 'b' and tuuka_sum < A+B: if fore_rank <= B: print('Yes') fore_rank += 1 tuuka_sum += 1 else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 2, 13, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 14, 2, 2, 13, 13, 2, 13, 13, 14, 2, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 106, 2 ], [ 106, 11 ], [ 106, 12 ], [ 94, 14 ], [ 97, 18 ], [ 97, 21 ], [ 25, 24 ], [ 104, 27 ], [ 95, 31 ], [ 24, 32 ], [ 95, 40 ], [ 24, 41 ], [ 98, 46 ], [ 89, 46 ], [ 86, 47 ], [ 101, 47 ], [ 107, 49 ], [ 92, 50 ], [ 88, 55 ], [ 98, 63 ], [ 89, 63 ], [ 86, 64 ], [ 101, 64 ], [ 107, 66 ], [ 92, 67 ], [ 86, 70 ], [ 101, 70 ], [ 92, 71 ], [ 100, 76 ], [ 97, 86 ], [ 88, 89 ], [ 106, 92 ], [ 94, 95 ], [ 97, 98 ], [ 100, 101 ], [ 106, 104 ], [ 106, 107 ] ]
[ "n, a, b = map(int, input().split())\nl = input()\nnum_d = num_i = 0\nfor i in range(n):\n if l[i] == 'c':\n print('No')\n elif l[i] == 'a':\n if num_d+num_i < a+b:\n print('Yes')\n num_d += 1\n else:\n print('No')\n else:\n if num_d+num_i < a+b:\n if num_i < b:\n print('Yes')\n num_i += 1\n else:\n print('No')\n else:\n print('No')", "n, a, b = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a", "b", "l = input()", "l", "input()", "input", "num_d = num_i = 0", "num_d", "0", "= num_i = 0", "num_i", "0", "for i in range(n):\n if l[i] == 'c':\n print('No')\n elif l[i] == 'a':\n if num_d+num_i < a+b:\n print('Yes')\n num_d += 1\n else:\n print('No')\n else:\n if num_d+num_i < a+b:\n if num_i < b:\n print('Yes')\n num_i += 1\n else:\n print('No')\n else:\n print('No')", "i", "range(n)", "range", "n", "if l[i] == 'c':\n print('No')\n elif l[i] == 'a':\n if num_d+num_i < a+b:\n print('Yes')\n num_d += 1\n else:\n print('No')\n else:\n if num_d+num_i < a+b:\n if num_i < b:\n print('Yes')\n num_i += 1\n else:\n print('No')\n else:\n print('No')", "l[i] == 'c'", "l[i]", "l", "i", "'c'", "print('No')", "print", "'No'", "elif l[i] == 'a':\n if num_d+num_i < a+b:\n print('Yes')\n num_d += 1\n else:\n print('No')\n ", "l[i] == 'a'", "l[i]", "l", "i", "'a'", "if num_d+num_i < a+b:\n print('Yes')\n num_d += 1\n else:\n print('No')\n ", "num_d+num_i < a+b", "num_d+num_i", "num_d", "num_i", "a+b", "a", "b", "print('Yes')", "print", "'Yes'", "num_d += 1", "num_d", "1", "print('No')", "print", "'No'", "if num_d+num_i < a+b:\n if num_i < b:\n print('Yes')\n num_i += 1\n else:\n print('No')\n else:\n print('No')", "num_d+num_i < a+b", "num_d+num_i", "num_d", "num_i", "a+b", "a", "b", "if num_i < b:\n print('Yes')\n num_i += 1\n else:\n print('No')\n ", "num_i < b", "num_i", "b", "print('Yes')", "print", "'Yes'", "num_i += 1", "num_i", "1", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "num_i = 0", "0", "num_i", "num_d += 1", "1", "num_d", "b = map(int, input().split())", "map(int, input().split())", "b", "l = input()", "input()", "l", "num_d = num_i = 0", "0", "num_d", "num_i += 1", "1", "num_i", "n, a, b = map(int, input().split())", "map(int, input().split())", "n", "a, b = map(int, input().split())", "map(int, input().split())", "a" ]
n, a, b = map(int, input().split()) l = input() num_d = num_i = 0 for i in range(n): if l[i] == 'c': print('No') elif l[i] == 'a': if num_d+num_i < a+b: print('Yes') num_d += 1 else: print('No') else: if num_d+num_i < a+b: if num_i < b: print('Yes') num_i += 1 else: print('No') else: print('No')
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 14, 2, 2, 13, 13, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 14, 2, 2, 2, 13, 13, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 5, 14 ], [ 17, 16 ], [ 21, 20 ], [ 23, 22 ], [ 26, 25 ], [ 16, 25 ], [ 25, 29 ], [ 33, 32 ], [ 25, 36 ], [ 13, 41 ], [ 14, 42 ], [ 20, 43 ], [ 67, 43 ], [ 48, 43 ], [ 46, 45 ], [ 49, 48 ], [ 52, 51 ], [ 13, 57 ], [ 14, 58 ], [ 20, 59 ], [ 67, 59 ], [ 48, 59 ], [ 14, 61 ], [ 22, 62 ], [ 70, 62 ], [ 65, 64 ], [ 68, 67 ], [ 71, 70 ], [ 74, 73 ], [ 73, 77 ], [ 64, 77 ], [ 51, 77 ], [ 45, 77 ], [ 32, 77 ], [ 86, 83 ] ]
[ "# coding: utf-8\n\ndef main():\n N, A, B = map(int, input().split())\n S = input()\n cnt, cnt_f = 0, 0\n\n for c in S:\n if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()", "def main():\n N, A, B = map(int, input().split())\n S = input()\n cnt, cnt_f = 0, 0\n\n for c in S:\n if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n print(ans)", "main", "N, A, B = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S = input()", "S", "input()", "input", "cnt, cnt_f = 0, 0", "cnt", "0", "cnt_f", "0", "for c in S:\n if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n print(ans)", "c", "S", "if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n ", "c == 'c'", "c", "'c'", "ans = 'No'", "ans", "'No'", "elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n ", "c == 'a'", "c", "'a'", "if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n ", "A + B > cnt", "A + B", "A", "B", "cnt", "ans = 'Yes'", "ans", "'Yes'", "cnt += 1", "cnt", "1", "ans = 'No'", "ans", "'No'", "if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n ", "A + B > cnt and B > cnt_f", "A + B > cnt", "A + B", "A", "B", "cnt", "B > cnt_f", "B", "cnt_f", "ans = 'Yes'", "ans", "'Yes'", "cnt += 1", "cnt", "1", "cnt_f += 1", "cnt_f", "1", "ans = 'No'", "ans", "'No'", "print(ans)", "print", "ans", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n N, A, B = map(int, input().split())\n S = input()\n cnt, cnt_f = 0, 0\n\n for c in S:\n if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n print(ans)", "def main():\n N, A, B = map(int, input().split())\n S = input()\n cnt, cnt_f = 0, 0\n\n for c in S:\n if c == 'c':\n ans = 'No'\n elif c == 'a':\n if A + B > cnt:\n ans = 'Yes'\n cnt += 1\n else:\n ans = 'No'\n else:\n if A + B > cnt and B > cnt_f:\n ans = 'Yes'\n cnt += 1\n cnt_f += 1\n else:\n ans = 'No'\n print(ans)", "main" ]
# coding: utf-8 def main(): N, A, B = map(int, input().split()) S = input() cnt, cnt_f = 0, 0 for c in S: if c == 'c': ans = 'No' elif c == 'a': if A + B > cnt: ans = 'Yes' cnt += 1 else: ans = 'No' else: if A + B > cnt and B > cnt_f: ans = 'Yes' cnt += 1 cnt_f += 1 else: ans = 'No' print(ans) if __name__ == "__main__": main()
[ 7, 15, 13, 12, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 2, 13, 13, 40, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 12, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13 ]
[ [ 107, 10 ], [ 93, 12 ], [ 107, 13 ], [ 107, 14 ], [ 80, 16 ], [ 95, 20 ], [ 86, 23 ], [ 27, 26 ], [ 81, 26 ], [ 26, 30 ], [ 96, 34 ], [ 84, 34 ], [ 99, 34 ], [ 102, 36 ], [ 90, 37 ], [ 98, 42 ], [ 26, 49 ], [ 77, 52 ], [ 96, 57 ], [ 84, 57 ], [ 99, 57 ], [ 102, 59 ], [ 90, 60 ], [ 78, 62 ], [ 87, 62 ], [ 90, 63 ], [ 83, 68 ], [ 77, 78 ], [ 80, 81 ], [ 83, 84 ], [ 86, 87 ], [ 107, 90 ], [ 95, 96 ], [ 98, 99 ], [ 107, 102 ], [ 107, 108 ] ]
[ "import sys\n\ndef I(): return int(sys.stdin.readline())\ndef MI(): return map(int, sys.stdin.readline().split())\ndef LI(): return list(map(int, sys.stdin.readline().split()))\n\nn, a, b = MI()\ns = input()\nok = 0\nrank = 0\nfor si in s:\n if si == 'a':\n if ok < a+b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n elif si == 'b':\n rank += 1\n if ok < a+b and rank <= b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "import sys", "sys", "def I(): return int(sys.stdin.readline())", "I", "def MI(): return map(int, sys.stdin.readline().split())", "MI", "def LI(): return list(map(int, sys.stdin.readline().split()))", "LI", "n, a, b = MI()", "n", "MI()", "MI", "a", "b", "s = input()", "s", "input()", "input", "ok = 0", "ok", "0", "rank = 0", "rank", "0", "for si in s:\n if si == 'a':\n if ok < a+b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n elif si == 'b':\n rank += 1\n if ok < a+b and rank <= b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "si", "s", "if si == 'a':\n if ok < a+b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n elif si == 'b':\n rank += 1\n if ok < a+b and rank <= b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "si == 'a'", "si", "'a'", "if ok < a+b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n ", "ok < a+b", "ok", "a+b", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "ok += 1", "ok", "1", "print(\"No\")", "print", "\"No\"", "elif si == 'b':\n rank += 1\n if ok < a+b and rank <= b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n ", "si == 'b'", "si", "'b'", "rank += 1", "rank", "1", "if ok < a+b and rank <= b:\n print(\"Yes\")\n ok += 1\n else:\n print(\"No\")\n ", "ok < a+b and rank <= b", "ok < a+b", "ok", "a+b", "a", "b", "rank <= b", "rank", "b", "print(\"Yes\")", "print", "\"Yes\"", "ok += 1", "ok", "1", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "rank += 1", "1", "rank", "s = input()", "input()", "s", "ok += 1", "1", "ok", "rank = 0", "0", "rank", "b = MI()", "MI()", "b", "def MI(): return map(int, sys.stdin.readline().split())", "def MI(): return map(int, sys.stdin.readline().split())", "MI", "ok = 0", "0", "ok", "ok += 1", "1", "ok", "a, b = MI()", "MI()", "a", "def I(): return int(sys.stdin.readline())", "def I(): return int(sys.stdin.readline())", "I", "n, a, b = MI()", "MI()", "n", "def LI(): return list(map(int, sys.stdin.readline().split()))", "def LI(): return list(map(int, sys.stdin.readline().split()))", "LI" ]
import sys def I(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys.stdin.readline().split())) n, a, b = MI() s = input() ok = 0 rank = 0 for si in s: if si == 'a': if ok < a+b: print("Yes") ok += 1 else: print("No") elif si == 'b': rank += 1 if ok < a+b and rank <= b: print("Yes") ok += 1 else: print("No") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 39, 0, 13, 39, 0, 13, 39, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 14, 2, 13, 17, 14, 2, 2, 4, 13, 13, 4, 13, 13, 2, 13, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 2, 4, 13, 13, 4, 13, 13, 2, 13, 13, 40, 13, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 28, 13, 4, 13, 13, 4, 13, 18, 13, 13, 10, 39, 13, 10, 4, 13, 10, 39, 13, 10, 17, 13, 10, 17, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 18, 13 ]
[ [ 145, 2 ], [ 145, 11 ], [ 145, 12 ], [ 148, 14 ], [ 124, 18 ], [ 130, 21 ], [ 139, 24 ], [ 133, 27 ], [ 31, 30 ], [ 128, 33 ], [ 151, 35 ], [ 149, 37 ], [ 30, 38 ], [ 152, 41 ], [ 125, 48 ], [ 131, 51 ], [ 143, 53 ], [ 146, 54 ], [ 125, 57 ], [ 152, 59 ], [ 140, 62 ], [ 140, 67 ], [ 152, 72 ], [ 136, 75 ], [ 125, 83 ], [ 131, 86 ], [ 143, 88 ], [ 146, 89 ], [ 137, 91 ], [ 134, 91 ], [ 146, 92 ], [ 131, 95 ], [ 152, 97 ], [ 140, 100 ], [ 140, 105 ], [ 140, 110 ], [ 115, 114 ], [ 128, 117 ], [ 140, 121 ], [ 114, 122 ], [ 124, 125 ], [ 145, 128 ], [ 130, 131 ], [ 133, 134 ], [ 136, 137 ], [ 139, 140 ], [ 145, 143 ], [ 145, 146 ], [ 148, 149 ], [ 151, 152 ] ]
[ "N,A,B = map(int,input().split())\nS = input()\n\nD=[]\nF = []\nans=[]\nf = 0\nfor i in range(N):\n tmp = S[i]\n if tmp == \"a\":\n if (len(D)+len(F))<(A+B):\n D.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n elif tmp == \"b\":\n f += 1\n if (len(D)+len(F))<(A+B) and f<=B:\n F.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n else:\n ans.append(\"No\")\n\nfor i in range(N):\n print(ans[i])", "N,A,B = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S = input()", "S", "input()", "input", "D=[]", "D", "[]", "F = []", "F", "[]", "ans=[]", "ans", "[]", "f = 0", "f", "0", "for i in range(N):\n tmp = S[i]\n if tmp == \"a\":\n if (len(D)+len(F))<(A+B):\n D.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n elif tmp == \"b\":\n f += 1\n if (len(D)+len(F))<(A+B) and f<=B:\n F.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n else:\n ans.append(\"No\")", "i", "range(N)", "range", "N", "tmp = S[i]", "tmp", "S[i]", "S", "i", "if tmp == \"a\":\n if (len(D)+len(F))<(A+B):\n D.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n elif tmp == \"b\":\n f += 1\n if (len(D)+len(F))<(A+B) and f<=B:\n F.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n else:\n ans.append(\"No\")", "tmp == \"a\"", "tmp", "\"a\"", "if (len(D)+len(F))<(A+B):\n D.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n ", "(len(D)+len(F))<(A+B)", "len(D)+len(F)", "len(D)", "len", "D", "len(F)", "len", "F", "A+B", "A", "B", "D.append(tmp)", "D.append", "D", "append", "tmp", "ans.append(\"Yes\")", "ans.append", "ans", "append", "\"Yes\"", "ans.append(\"No\")", "ans.append", "ans", "append", "\"No\"", "elif tmp == \"b\":\n f += 1\n if (len(D)+len(F))<(A+B) and f<=B:\n F.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n ", "tmp == \"b\"", "tmp", "\"b\"", "f += 1", "f", "1", "if (len(D)+len(F))<(A+B) and f<=B:\n F.append(tmp)\n ans.append(\"Yes\")\n else:\n ans.append(\"No\")\n ", "(len(D)+len(F))<(A+B) and f<=B", "(len(D)+len(F))<(A+B)", "len(D)+len(F)", "len(D)", "len", "D", "len(F)", "len", "F", "A+B", "A", "B", "f<=B", "f", "B", "F.append(tmp)", "F.append", "F", "append", "tmp", "ans.append(\"Yes\")", "ans.append", "ans", "append", "\"Yes\"", "ans.append(\"No\")", "ans.append", "ans", "append", "\"No\"", "ans.append(\"No\")", "ans.append", "ans", "append", "\"No\"", "for i in range(N):\n print(ans[i])", "i", "range(N)", "range", "N", "print(ans[i])", "print", "ans[i]", "ans", "i", "D=[]", "[]", "D", "N,A,B = map(int,input().split())", "map(int,input().split())", "N", "F = []", "[]", "F", "f = 0", "0", "f", "f += 1", "1", "f", "ans=[]", "[]", "ans", "A,B = map(int,input().split())", "map(int,input().split())", "A", "B = map(int,input().split())", "map(int,input().split())", "B", "S = input()", "input()", "S", "tmp = S[i]", "S[i]", "tmp" ]
N,A,B = map(int,input().split()) S = input() D=[] F = [] ans=[] f = 0 for i in range(N): tmp = S[i] if tmp == "a": if (len(D)+len(F))<(A+B): D.append(tmp) ans.append("Yes") else: ans.append("No") elif tmp == "b": f += 1 if (len(D)+len(F))<(A+B) and f<=B: F.append(tmp) ans.append("Yes") else: ans.append("No") else: ans.append("No") for i in range(N): print(ans[i])
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 12, 13, 0, 13, 39, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 18, 13, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 17, 28, 13, 4, 13, 17, 2, 4, 13, 13, 17, 14, 2, 2, 17, 18, 13, 2, 13, 17, 2, 13, 17, 0, 13, 17, 4, 13, 17, 14, 2, 2, 2, 17, 18, 13, 2, 13, 17, 2, 13, 17, 40, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 18, 13, 10, 12, 13 ]
[ [ 113, 4 ], [ 14, 13 ], [ 17, 16 ], [ 114, 23 ], [ 17, 25 ], [ 17, 26 ], [ 30, 29 ], [ 114, 33 ], [ 13, 38 ], [ 29, 40 ], [ 44, 43 ], [ 25, 45 ], [ 26, 46 ], [ 49, 48 ], [ 52, 51 ], [ 13, 58 ], [ 13, 65 ], [ 51, 67 ], [ 43, 70 ], [ 98, 70 ], [ 73, 70 ], [ 74, 73 ], [ 13, 84 ], [ 51, 86 ], [ 43, 89 ], [ 98, 89 ], [ 73, 89 ], [ 48, 92 ], [ 95, 92 ], [ 26, 93 ], [ 96, 95 ], [ 99, 98 ], [ 117, 111 ], [ 113, 114 ] ]
[ "#-*-coding:utf-8-*-\nimport sys\ninput=sys.stdin.readline\n\ndef main():\n candidates=[]\n n,a,b = map(int,input().split())\n [candidates.append(s) for s in input().rstrip()]\n limit=a+b\n b_counter=1\n\n for idx in range(1,len(candidates)+1):\n if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n \nif __name__==\"__main__\":\n main()", "import sys", "sys", "input=sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "def main():\n candidates=[]\n n,a,b = map(int,input().split())\n [candidates.append(s) for s in input().rstrip()]\n limit=a+b\n b_counter=1\n\n for idx in range(1,len(candidates)+1):\n if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "main", "candidates=[]", "candidates", "[]", "n,a,b = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a", "b", "candidates.append(s) for s in input().rstrip()", "for s in input().rstrip()", "s", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "for s in input().rstrip()", "candidates.append(s)", "candidates.append", "candidates", "append", "s", "[candidates.append(s) for s in input().rstrip()]", "limit=a+b", "limit", "a+b", "a", "b", "b_counter=1", "b_counter", "1", "for idx in range(1,len(candidates)+1):\n if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "idx", "range(1,len(candidates)+1)", "range", "1", "len(candidates)+1", "len(candidates)", "len", "candidates", "1", "if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "'a' in candidates[idx-1] and limit > 0", "'a' in candidates[idx-1]", "'a'", "candidates[idx-1]", "candidates", "idx-1", "idx", "1", "limit > 0", "limit", "0", "limit-=1", "limit", "1", "print(\"Yes\")", "print", "\"Yes\"", "elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n ", "'b' in candidates[idx-1] and limit > 0 and b_counter <= b", "'b' in candidates[idx-1] and limit > 0", "'b' in candidates[idx-1]", "'b'", "candidates[idx-1]", "candidates", "idx-1", "idx", "1", "limit > 0", "limit", "0", "b_counter <= b", "b_counter", "b", "b_counter+=1", "b_counter", "1", "limit-=1", "limit", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "if __name__==\"__main__\":\n main()", "__name__==\"__main__\"", "__name__", "\"__main__\"", "main()", "main", "input=sys.stdin.readline", "sys.stdin.readline", "input", "def main():\n candidates=[]\n n,a,b = map(int,input().split())\n [candidates.append(s) for s in input().rstrip()]\n limit=a+b\n b_counter=1\n\n for idx in range(1,len(candidates)+1):\n if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "def main():\n candidates=[]\n n,a,b = map(int,input().split())\n [candidates.append(s) for s in input().rstrip()]\n limit=a+b\n b_counter=1\n\n for idx in range(1,len(candidates)+1):\n if 'a' in candidates[idx-1] and limit > 0:\n limit-=1\n print(\"Yes\")\n elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b:\n b_counter+=1\n limit-=1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "main" ]
#-*-coding:utf-8-*- import sys input=sys.stdin.readline def main(): candidates=[] n,a,b = map(int,input().split()) [candidates.append(s) for s in input().rstrip()] limit=a+b b_counter=1 for idx in range(1,len(candidates)+1): if 'a' in candidates[idx-1] and limit > 0: limit-=1 print("Yes") elif 'b' in candidates[idx-1] and limit > 0 and b_counter <= b: b_counter+=1 limit-=1 print("Yes") else: print("No") if __name__=="__main__": main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 14, 2, 13, 17, 14, 2, 2, 13, 2, 13, 13, 40, 2, 13, 17, 13, 4, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 92, 2 ], [ 92, 11 ], [ 92, 12 ], [ 95, 14 ], [ 98, 18 ], [ 80, 21 ], [ 25, 24 ], [ 96, 24 ], [ 24, 28 ], [ 99, 32 ], [ 102, 32 ], [ 78, 32 ], [ 90, 34 ], [ 93, 35 ], [ 77, 40 ], [ 24, 47 ], [ 99, 52 ], [ 102, 52 ], [ 78, 52 ], [ 90, 54 ], [ 93, 55 ], [ 81, 58 ], [ 87, 58 ], [ 93, 60 ], [ 101, 65 ], [ 86, 68 ], [ 77, 78 ], [ 80, 81 ], [ 92, 84 ], [ 86, 87 ], [ 92, 90 ], [ 92, 93 ], [ 95, 96 ], [ 98, 99 ], [ 101, 102 ] ]
[ "n,a,b = map(int,input().split())\nS = input()\npassed = 0\nf_passed = 0\nfor s in S:\n if s == \"a\":\n if passed < a + b:\n print(\"Yes\")\n passed += 1\n else:\n print(\"No\")\n elif s == \"b\":\n if passed < a + b and f_passed + 1 <= b:\n print(\"Yes\")\n passed += 1\n f_passed += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "n,a,b = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a", "b", "S = input()", "S", "input()", "input", "passed = 0", "passed", "0", "f_passed = 0", "f_passed", "0", "for s in S:\n if s == \"a\":\n if passed < a + b:\n print(\"Yes\")\n passed += 1\n else:\n print(\"No\")\n elif s == \"b\":\n if passed < a + b and f_passed + 1 <= b:\n print(\"Yes\")\n passed += 1\n f_passed += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "s", "S", "if s == \"a\":\n if passed < a + b:\n print(\"Yes\")\n passed += 1\n else:\n print(\"No\")\n elif s == \"b\":\n if passed < a + b and f_passed + 1 <= b:\n print(\"Yes\")\n passed += 1\n f_passed += 1\n else:\n print(\"No\")\n else:\n print(\"No\")", "s == \"a\"", "s", "\"a\"", "if passed < a + b:\n print(\"Yes\")\n passed += 1\n else:\n print(\"No\")\n ", "passed < a + b", "passed", "a + b", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "passed += 1", "passed", "1", "print(\"No\")", "print", "\"No\"", "elif s == \"b\":\n if passed < a + b and f_passed + 1 <= b:\n print(\"Yes\")\n passed += 1\n f_passed += 1\n else:\n print(\"No\")\n ", "s == \"b\"", "s", "\"b\"", "if passed < a + b and f_passed + 1 <= b:\n print(\"Yes\")\n passed += 1\n f_passed += 1\n else:\n print(\"No\")\n ", "passed < a + b and f_passed + 1 <= b", "passed < a + b", "passed", "a + b", "a", "b", "f_passed + 1 <= b", "f_passed + 1", "f_passed", "1", "b", "print(\"Yes\")", "print", "\"Yes\"", "passed += 1", "passed", "1", "f_passed += 1", "f_passed", "1", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "passed += 1", "1", "passed", "f_passed = 0", "0", "f_passed", "n,a,b = map(int,input().split())", "map(int,input().split())", "n", "f_passed += 1", "1", "f_passed", "a,b = map(int,input().split())", "map(int,input().split())", "a", "b = map(int,input().split())", "map(int,input().split())", "b", "S = input()", "input()", "S", "passed = 0", "0", "passed", "passed += 1", "1", "passed" ]
n,a,b = map(int,input().split()) S = input() passed = 0 f_passed = 0 for s in S: if s == "a": if passed < a + b: print("Yes") passed += 1 else: print("No") elif s == "b": if passed < a + b and f_passed + 1 <= b: print("Yes") passed += 1 f_passed += 1 else: print("No") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 13, 17, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 4, 13, 17, 9, 14, 2, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 4, 13, 17, 14, 2, 2, 13, 2, 13, 13, 2, 13, 13, 4, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 102, 2 ], [ 102, 11 ], [ 102, 12 ], [ 81, 14 ], [ 78, 18 ], [ 87, 20 ], [ 82, 27 ], [ 79, 42 ], [ 97, 42 ], [ 100, 42 ], [ 94, 44 ], [ 103, 45 ], [ 99, 50 ], [ 79, 58 ], [ 97, 58 ], [ 100, 58 ], [ 94, 60 ], [ 103, 61 ], [ 88, 63 ], [ 85, 63 ], [ 103, 64 ], [ 96, 69 ], [ 84, 72 ], [ 78, 79 ], [ 81, 82 ], [ 84, 85 ], [ 87, 88 ], [ 102, 91 ], [ 102, 94 ], [ 96, 97 ], [ 99, 100 ], [ 102, 103 ] ]
[ "N,A,B=map(int,input().split())\nS=input()\ncnt1,cnt2=0,0\nfor i,s in enumerate(S):\n if s==\"c\":\n print(\"No\")\n continue\n if s==\"a\":\n if cnt1<A+B:\n print(\"Yes\")\n cnt1+=1\n else:\n print(\"No\")\n else:\n if cnt1<A+B and cnt2<B:\n print(\"Yes\")\n cnt1+=1\n cnt2+=1\n else:\n print(\"No\")", "N,A,B=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S=input()", "S", "input()", "input", "cnt1,cnt2=0,0", "cnt1", "0", "cnt2", "0", "for i,s in enumerate(S):\n if s==\"c\":\n print(\"No\")\n continue\n if s==\"a\":\n if cnt1<A+B:\n print(\"Yes\")\n cnt1+=1\n else:\n print(\"No\")\n else:\n if cnt1<A+B and cnt2<B:\n print(\"Yes\")\n cnt1+=1\n cnt2+=1\n else:\n print(\"No\")", "i", "s", "enumerate(S)", "enumerate", "S", "if s==\"c\":\n print(\"No\")\n continue\n ", "s==\"c\"", "s", "\"c\"", "print(\"No\")", "print", "\"No\"", "continue", "if s==\"a\":\n if cnt1<A+B:\n print(\"Yes\")\n cnt1+=1\n else:\n print(\"No\")\n else:\n if cnt1<A+B and cnt2<B:\n print(\"Yes\")\n cnt1+=1\n cnt2+=1\n else:\n print(\"No\")", "s==\"a\"", "s", "\"a\"", "if cnt1<A+B:\n print(\"Yes\")\n cnt1+=1\n else:\n print(\"No\")\n ", "cnt1<A+B", "cnt1", "A+B", "A", "B", "print(\"Yes\")", "print", "\"Yes\"", "cnt1+=1", "cnt1", "1", "print(\"No\")", "print", "\"No\"", "if cnt1<A+B and cnt2<B:\n print(\"Yes\")\n cnt1+=1\n cnt2+=1\n else:\n print(\"No\")", "cnt1<A+B and cnt2<B", "cnt1<A+B", "cnt1", "A+B", "A", "B", "cnt2<B", "cnt2", "B", "print(\"Yes\")", "print", "\"Yes\"", "cnt1+=1", "cnt1", "1", "cnt2+=1", "cnt2", "1", "print(\"No\")", "print", "\"No\"", "cnt1,cnt2=0,0", "0", "cnt1", "S=input()", "input()", "S", "cnt2+=1", "1", "cnt2", "cnt2=0,0", "0", "cnt2", "N,A,B=map(int,input().split())", "map(int,input().split())", "N", "A,B=map(int,input().split())", "map(int,input().split())", "A", "cnt1+=1", "1", "cnt1", "cnt1+=1", "1", "cnt1", "B=map(int,input().split())", "map(int,input().split())", "B" ]
N,A,B=map(int,input().split()) S=input() cnt1,cnt2=0,0 for i,s in enumerate(S): if s=="c": print("No") continue if s=="a": if cnt1<A+B: print("Yes") cnt1+=1 else: print("No") else: if cnt1<A+B and cnt2<B: print("Yes") cnt1+=1 cnt2+=1 else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 18, 4, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 13, 2, 13, 13, 14, 2, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 104, 2 ], [ 104, 11 ], [ 104, 12 ], [ 92, 14 ], [ 110, 21 ], [ 107, 24 ], [ 28, 27 ], [ 93, 32 ], [ 93, 36 ], [ 27, 37 ], [ 111, 41 ], [ 90, 41 ], [ 99, 41 ], [ 96, 43 ], [ 105, 44 ], [ 98, 46 ], [ 93, 57 ], [ 27, 58 ], [ 111, 62 ], [ 90, 62 ], [ 99, 62 ], [ 96, 64 ], [ 105, 65 ], [ 108, 68 ], [ 114, 68 ], [ 105, 69 ], [ 113, 71 ], [ 89, 74 ], [ 89, 90 ], [ 92, 93 ], [ 104, 96 ], [ 98, 99 ], [ 104, 102 ], [ 104, 105 ], [ 107, 108 ], [ 110, 111 ], [ 113, 114 ] ]
[ "n,a,b=map(int,input().split())\ns=input().strip()\nnjp=0\nnop=0\nfor i in range(len(s)):\n if s[i]=='a':\n if njp<(a+b):\n njp+=1\n print('Yes')\n else:\n print('No')\n elif s[i]=='b':\n if njp<(a+b):\n if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n else:\n print('No')", "n,a,b=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a", "b", "s=input().strip()", "s", "input().strip()", "().strip", "()", "input", "strip", "njp=0", "njp", "0", "nop=0", "nop", "0", "for i in range(len(s)):\n if s[i]=='a':\n if njp<(a+b):\n njp+=1\n print('Yes')\n else:\n print('No')\n elif s[i]=='b':\n if njp<(a+b):\n if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n else:\n print('No')", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]=='a':\n if njp<(a+b):\n njp+=1\n print('Yes')\n else:\n print('No')\n elif s[i]=='b':\n if njp<(a+b):\n if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n else:\n print('No')", "s[i]=='a'", "s[i]", "s", "i", "'a'", "if njp<(a+b):\n njp+=1\n print('Yes')\n else:\n print('No')\n ", "njp<(a+b)", "njp", "a+b", "a", "b", "njp+=1", "njp", "1", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "elif s[i]=='b':\n if njp<(a+b):\n if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n ", "s[i]=='b'", "s[i]", "s", "i", "'b'", "if njp<(a+b):\n if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n ", "njp<(a+b)", "njp", "a+b", "a", "b", "if nop<b:\n nop+=1\n njp+=1\n print('Yes')\n else:\n print('No')\n ", "nop<b", "nop", "b", "nop+=1", "nop", "1", "njp+=1", "njp", "1", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "njp+=1", "1", "njp", "s=input().strip()", "input().strip()", "s", "a,b=map(int,input().split())", "map(int,input().split())", "a", "njp+=1", "1", "njp", "n,a,b=map(int,input().split())", "map(int,input().split())", "n", "b=map(int,input().split())", "map(int,input().split())", "b", "nop=0", "0", "nop", "njp=0", "0", "njp", "nop+=1", "1", "nop" ]
n,a,b=map(int,input().split()) s=input().strip() njp=0 nop=0 for i in range(len(s)): if s[i]=='a': if njp<(a+b): njp+=1 print('Yes') else: print('No') elif s[i]=='b': if njp<(a+b): if nop<b: nop+=1 njp+=1 print('Yes') else: print('No') else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 40, 13, 17, 40, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 40, 2, 13, 4, 13, 17, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 84, 2 ], [ 84, 11 ], [ 84, 12 ], [ 72, 14 ], [ 19, 18 ], [ 73, 18 ], [ 18, 22 ], [ 78, 25 ], [ 79, 30 ], [ 85, 30 ], [ 82, 34 ], [ 76, 34 ], [ 79, 35 ], [ 85, 35 ], [ 18, 45 ], [ 75, 48 ], [ 76, 53 ], [ 82, 53 ], [ 85, 57 ], [ 79, 57 ], [ 84, 70 ], [ 72, 73 ], [ 75, 76 ], [ 78, 79 ], [ 84, 82 ], [ 84, 85 ] ]
[ "N, A, B = map(int, input().split())\nS = input()\n\nfor c in S:\n if c == 'b':\n\n B -= 1\n if B >= 0 and (A+B) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n elif c == 'a':\n A -= 1\n if (A+max(0, B)) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "N, A, B = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S = input()", "S", "input()", "input", "for c in S:\n if c == 'b':\n\n B -= 1\n if B >= 0 and (A+B) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n elif c == 'a':\n A -= 1\n if (A+max(0, B)) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "c", "S", "if c == 'b':\n\n B -= 1\n if B >= 0 and (A+B) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n elif c == 'a':\n A -= 1\n if (A+max(0, B)) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "c == 'b'", "c", "'b'", "B -= 1", "B", "1", "if B >= 0 and (A+B) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n ", "B >= 0 and (A+B) >= 0", "B >= 0", "B", "0", "(A+B) >= 0", "A+B", "A", "B", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "elif c == 'a':\n A -= 1\n if (A+max(0, B)) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n ", "c == 'a'", "c", "'a'", "A -= 1", "A", "1", "if (A+max(0, B)) >= 0:\n print(\"Yes\")\n else:\n print(\"No\")\n ", "(A+max(0, B)) >= 0", "A+max(0, B)", "A", "max(0, B)", "max", "0", "B", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "N, A, B = map(int, input().split())", "map(int, input().split())", "N", "S = input()", "input()", "S", "A -= 1", "1", "A", "B -= 1", "1", "B", "A, B = map(int, input().split())", "map(int, input().split())", "A", "B = map(int, input().split())", "map(int, input().split())", "B" ]
N, A, B = map(int, input().split()) S = input() for c in S: if c == 'b': B -= 1 if B >= 0 and (A+B) >= 0: print("Yes") else: print("No") elif c == 'a': A -= 1 if (A+max(0, B)) >= 0: print("Yes") else: print("No") else: print("No")
[ 7, 15, 15, 41, 28, 13, 4, 18, 4, 18, 4, 18, 13, 13, 13, 13, 4, 4, 13, 13, 0, 13, 13, 13, 13, 0, 13, 4, 13, 4, 18, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 2, 13, 13, 2, 18, 13, 13, 17, 4, 13, 17, 0, 13, 17, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 18, 13, 13, 17, 4, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 17, 10, 13, 13, 10, 17, 13, 10, 13, 13, 10, 13, 13, 10, 17, 13, 10, 2, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 6, 5 ], [ 5, 19 ], [ 104, 21 ], [ 104, 23 ], [ 104, 24 ], [ 122, 26 ], [ 110, 37 ], [ 102, 39 ], [ 96, 40 ], [ 119, 42 ], [ 119, 45 ], [ 49, 48 ], [ 105, 51 ], [ 114, 55 ], [ 108, 55 ], [ 117, 55 ], [ 111, 56 ], [ 123, 59 ], [ 48, 60 ], [ 116, 66 ], [ 114, 72 ], [ 108, 72 ], [ 117, 72 ], [ 111, 73 ], [ 120, 75 ], [ 99, 75 ], [ 96, 76 ], [ 123, 79 ], [ 48, 80 ], [ 107, 86 ], [ 98, 89 ], [ 104, 96 ], [ 98, 99 ], [ 104, 102 ], [ 104, 105 ], [ 107, 108 ], [ 110, 111 ], [ 119, 114 ], [ 116, 117 ], [ 119, 120 ], [ 122, 123 ] ]
[ "from sys import stdin\nfrom math import ceil, floor\nn,a,b = [int(x) for x in stdin.readline().rstrip().split()]\ns=list(stdin.readline().rstrip())\nc=a+b\nd=e=0\nfor i in range(n):\n if d<c and s[i]==\"a\":\n print(\"Yes\")\n d+=1\n elif d<c and e<b and s[i]==\"b\":\n print(\"Yes\")\n d+=1\n e+=1\n else:\n print(\"No\")", "from sys import stdin", "from math import ceil, floor", "int(x) for x in stdin.readline().rstrip().split()", "for x in stdin.readline().rstrip().split()", "x", "stdin.readline().rstrip().split()", "stdin.readline().rstrip().split", "stdin.readline().rstrip()", "stdin.readline().rstrip", "stdin.readline()", "stdin.readline", "stdin", "readline", "rstrip", "split", "for x in stdin.readline().rstrip().split()", "int(x)", "int", "x", "n,a,b = [int(x) for x in stdin.readline().rstrip().split()]", "n", "[int(x) for x in stdin.readline().rstrip().split()]", "a", "b", "s=list(stdin.readline().rstrip())", "s", "list(stdin.readline().rstrip())", "list", "stdin.readline().rstrip()", "stdin.readline().rstrip", "stdin.readline()", "stdin.readline", "stdin", "readline", "rstrip", "c=a+b", "c", "a+b", "a", "b", "d=e=0", "d", "0", "=e=0", "e", "0", "for i in range(n):\n if d<c and s[i]==\"a\":\n print(\"Yes\")\n d+=1\n elif d<c and e<b and s[i]==\"b\":\n print(\"Yes\")\n d+=1\n e+=1\n else:\n print(\"No\")", "i", "range(n)", "range", "n", "if d<c and s[i]==\"a\":\n print(\"Yes\")\n d+=1\n elif d<c and e<b and s[i]==\"b\":\n print(\"Yes\")\n d+=1\n e+=1\n else:\n print(\"No\")", "d<c and s[i]==\"a\"", "d<c", "d", "c", "s[i]==\"a\"", "s[i]", "s", "i", "\"a\"", "print(\"Yes\")", "print", "\"Yes\"", "d+=1", "d", "1", "elif d<c and e<b and s[i]==\"b\":\n print(\"Yes\")\n d+=1\n e+=1\n ", "d<c and e<b and s[i]==\"b\"", "d<c and e<b", "d<c", "d", "c", "e<b", "e", "b", "s[i]==\"b\"", "s[i]", "s", "i", "\"b\"", "print(\"Yes\")", "print", "\"Yes\"", "d+=1", "d", "1", "e+=1", "e", "1", "print(\"No\")", "print", "\"No\"", "b = [int(x) for x in stdin.readline().rstrip().split()]", "[int(x) for x in stdin.readline().rstrip().split()]", "b", "e+=1", "1", "e", "a,b = [int(x) for x in stdin.readline().rstrip().split()]", "[int(x) for x in stdin.readline().rstrip().split()]", "a", "n,a,b = [int(x) for x in stdin.readline().rstrip().split()]", "[int(x) for x in stdin.readline().rstrip().split()]", "n", "d+=1", "1", "d", "c=a+b", "a+b", "c", "d=e=0", "0", "d", "d+=1", "1", "d", "e=0", "0", "e", "s=list(stdin.readline().rstrip())", "list(stdin.readline().rstrip())", "s" ]
from sys import stdin from math import ceil, floor n,a,b = [int(x) for x in stdin.readline().rstrip().split()] s=list(stdin.readline().rstrip()) c=a+b d=e=0 for i in range(n): if d<c and s[i]=="a": print("Yes") d+=1 elif d<c and e<b and s[i]=="b": print("Yes") d+=1 e+=1 else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 14, 2, 2, 13, 2, 13, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 93, 2 ], [ 93, 11 ], [ 93, 12 ], [ 75, 14 ], [ 87, 17 ], [ 21, 20 ], [ 20, 25 ], [ 76, 29 ], [ 82, 29 ], [ 79, 29 ], [ 73, 31 ], [ 85, 32 ], [ 78, 34 ], [ 20, 44 ], [ 76, 49 ], [ 82, 49 ], [ 79, 49 ], [ 73, 51 ], [ 85, 52 ], [ 88, 54 ], [ 91, 54 ], [ 85, 55 ], [ 81, 57 ], [ 90, 60 ], [ 93, 73 ], [ 75, 76 ], [ 78, 79 ], [ 81, 82 ], [ 93, 85 ], [ 87, 88 ], [ 90, 91 ], [ 93, 94 ] ]
[ "n,a,b = map(int,input().split())\npassed=0\nout = 0\nfor i in input():\n if i == \"a\":\n if passed < a+b:\n passed += 1\n print(\"Yes\")\n else:\n print(\"No\")\n elif i == \"b\":\n if passed < a+b and out < b:\n passed += 1\n out += 1\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "n,a,b = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a", "b", "passed=0", "passed", "0", "out = 0", "out", "0", "for i in input():\n if i == \"a\":\n if passed < a+b:\n passed += 1\n print(\"Yes\")\n else:\n print(\"No\")\n elif i == \"b\":\n if passed < a+b and out < b:\n passed += 1\n out += 1\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "i", "input()", "input", "if i == \"a\":\n if passed < a+b:\n passed += 1\n print(\"Yes\")\n else:\n print(\"No\")\n elif i == \"b\":\n if passed < a+b and out < b:\n passed += 1\n out += 1\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n print(\"No\")", "i == \"a\"", "i", "\"a\"", "if passed < a+b:\n passed += 1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "passed < a+b", "passed", "a+b", "a", "b", "passed += 1", "passed", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "elif i == \"b\":\n if passed < a+b and out < b:\n passed += 1\n out += 1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "i == \"b\"", "i", "\"b\"", "if passed < a+b and out < b:\n passed += 1\n out += 1\n print(\"Yes\")\n else:\n print(\"No\")\n ", "passed < a+b and out < b", "passed < a+b", "passed", "a+b", "a", "b", "out < b", "out", "b", "passed += 1", "passed", "1", "out += 1", "out", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "a,b = map(int,input().split())", "map(int,input().split())", "a", "passed=0", "0", "passed", "passed += 1", "1", "passed", "passed += 1", "1", "passed", "b = map(int,input().split())", "map(int,input().split())", "b", "out = 0", "0", "out", "out += 1", "1", "out", "n,a,b = map(int,input().split())", "map(int,input().split())", "n" ]
n,a,b = map(int,input().split()) passed=0 out = 0 for i in input(): if i == "a": if passed < a+b: passed += 1 print("Yes") else: print("No") elif i == "b": if passed < a+b and out < b: passed += 1 out += 1 print("Yes") else: print("No") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 2, 13, 2, 13, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 101, 2 ], [ 101, 11 ], [ 101, 12 ], [ 86, 14 ], [ 113, 20 ], [ 80, 23 ], [ 27, 26 ], [ 90, 29 ], [ 83, 31 ], [ 87, 36 ], [ 26, 37 ], [ 114, 41 ], [ 111, 41 ], [ 105, 41 ], [ 93, 43 ], [ 102, 44 ], [ 95, 46 ], [ 104, 49 ], [ 87, 54 ], [ 26, 55 ], [ 114, 60 ], [ 111, 60 ], [ 105, 60 ], [ 93, 62 ], [ 102, 63 ], [ 81, 65 ], [ 108, 65 ], [ 102, 66 ], [ 98, 68 ], [ 110, 71 ], [ 107, 74 ], [ 99, 78 ], [ 96, 78 ], [ 84, 78 ], [ 80, 81 ], [ 83, 84 ], [ 86, 87 ], [ 101, 90 ], [ 101, 93 ], [ 95, 96 ], [ 98, 99 ], [ 101, 102 ], [ 104, 105 ], [ 107, 108 ], [ 110, 111 ], [ 113, 114 ] ]
[ "N, A, B = map(int, input().split())\nS = list(input())\na = 0 # 予選通過人数\nb = 0 # 海外\nfor i in range(N):\n ans = 'No'\n if S[i] == 'a':\n if a < A + B:\n ans = 'Yes'\n a += 1\n elif S[i] == 'b':\n if a < A + B and b < B:\n ans = 'Yes'\n a += 1\n b += 1\n print(ans)", "N, A, B = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S = list(input())", "S", "list(input())", "list", "input()", "input", "a = 0", "a", "0", "b = 0", "b", "0", "for i in range(N):\n ans = 'No'\n if S[i] == 'a':\n if a < A + B:\n ans = 'Yes'\n a += 1\n elif S[i] == 'b':\n if a < A + B and b < B:\n ans = 'Yes'\n a += 1\n b += 1\n print(ans)", "i", "range(N)", "range", "N", "ans = 'No'", "ans", "'No'", "if S[i] == 'a':\n if a < A + B:\n ans = 'Yes'\n a += 1\n elif S[i] == 'b':\n if a < A + B and b < B:\n ans = 'Yes'\n a += 1\n b += 1\n ", "S[i] == 'a'", "S[i]", "S", "i", "'a'", "if a < A + B:\n ans = 'Yes'\n a += 1\n ", "a < A + B", "a", "A + B", "A", "B", "ans = 'Yes'", "ans", "'Yes'", "a += 1", "a", "1", "elif S[i] == 'b':\n if a < A + B and b < B:\n ans = 'Yes'\n a += 1\n b += 1\n ", "S[i] == 'b'", "S[i]", "S", "i", "'b'", "if a < A + B and b < B:\n ans = 'Yes'\n a += 1\n b += 1\n ", "a < A + B and b < B", "a < A + B", "a", "A + B", "A", "B", "b < B", "b", "B", "ans = 'Yes'", "ans", "'Yes'", "a += 1", "a", "1", "b += 1", "b", "1", "print(ans)", "print", "ans", "b = 0", "0", "b", "ans = 'No'", "'No'", "ans", "S = list(input())", "list(input())", "S", "N, A, B = map(int, input().split())", "map(int, input().split())", "N", "A, B = map(int, input().split())", "map(int, input().split())", "A", "ans = 'Yes'", "'Yes'", "ans", "ans = 'Yes'", "'Yes'", "ans", "B = map(int, input().split())", "map(int, input().split())", "B", "a += 1", "1", "a", "b += 1", "1", "b", "a += 1", "1", "a", "a = 0", "0", "a" ]
N, A, B = map(int, input().split()) S = list(input()) a = 0 # 予選通過人数 b = 0 # 海外 for i in range(N): ans = 'No' if S[i] == 'a': if a < A + B: ans = 'Yes' a += 1 elif S[i] == 'b': if a < A + B and b < B: ans = 'Yes' a += 1 b += 1 print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 2, 13, 13, 13, 4, 13, 17, 0, 13, 17, 14, 2, 2, 2, 18, 13, 13, 17, 2, 2, 13, 13, 13, 40, 13, 13, 4, 13, 17, 0, 13, 17, 0, 13, 17, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 96, 2 ], [ 96, 11 ], [ 96, 12 ], [ 78, 14 ], [ 93, 18 ], [ 81, 21 ], [ 25, 24 ], [ 97, 27 ], [ 79, 32 ], [ 24, 33 ], [ 73, 37 ], [ 91, 38 ], [ 82, 39 ], [ 88, 39 ], [ 76, 39 ], [ 75, 44 ], [ 79, 51 ], [ 24, 52 ], [ 73, 56 ], [ 91, 57 ], [ 82, 58 ], [ 88, 58 ], [ 76, 58 ], [ 91, 60 ], [ 94, 61 ], [ 85, 61 ], [ 84, 66 ], [ 87, 69 ], [ 96, 73 ], [ 75, 76 ], [ 78, 79 ], [ 81, 82 ], [ 84, 85 ], [ 87, 88 ], [ 96, 91 ], [ 93, 94 ], [ 96, 97 ] ]
[ "N, A, B = map(int,input().split())\nS = input()\n\nFore_rank = 1\npassed = 0\n\nfor i in range(N):\n if S[i] == 'a' and A+B > passed:\n print(\"Yes\")\n passed += 1\n elif S[i] == 'b' and A+B > passed and B >= Fore_rank:\n print(\"Yes\")\n Fore_rank += 1\n passed += 1\n else: print(\"No\")", "N, A, B = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "A", "B", "S = input()", "S", "input()", "input", "Fore_rank = 1", "Fore_rank", "1", "passed = 0", "passed", "0", "for i in range(N):\n if S[i] == 'a' and A+B > passed:\n print(\"Yes\")\n passed += 1\n elif S[i] == 'b' and A+B > passed and B >= Fore_rank:\n print(\"Yes\")\n Fore_rank += 1\n passed += 1\n else: print(\"No\")", "i", "range(N)", "range", "N", "if S[i] == 'a' and A+B > passed:\n print(\"Yes\")\n passed += 1\n elif S[i] == 'b' and A+B > passed and B >= Fore_rank:\n print(\"Yes\")\n Fore_rank += 1\n passed += 1\n else: print(\"No\")", "S[i] == 'a' and A+B > passed", "S[i] == 'a'", "S[i]", "S", "i", "'a'", "A+B > passed", "A+B", "A", "B", "passed", "print(\"Yes\")", "print", "\"Yes\"", "passed += 1", "passed", "1", "elif S[i] == 'b' and A+B > passed and B >= Fore_rank:\n print(\"Yes\")\n Fore_rank += 1\n passed += 1\n ", "S[i] == 'b' and A+B > passed and B >= Fore_rank", "S[i] == 'b' and A+B > passed", "S[i] == 'b'", "S[i]", "S", "i", "'b'", "A+B > passed", "A+B", "A", "B", "passed", "B >= Fore_rank", "B", "Fore_rank", "print(\"Yes\")", "print", "\"Yes\"", "Fore_rank += 1", "Fore_rank", "1", "passed += 1", "passed", "1", "A, B = map(int,input().split())", "map(int,input().split())", "A", "passed += 1", "1", "passed", "S = input()", "input()", "S", "passed = 0", "0", "passed", "Fore_rank += 1", "1", "Fore_rank", "passed += 1", "1", "passed", "B = map(int,input().split())", "map(int,input().split())", "B", "Fore_rank = 1", "1", "Fore_rank", "N, A, B = map(int,input().split())", "map(int,input().split())", "N" ]
N, A, B = map(int,input().split()) S = input() Fore_rank = 1 passed = 0 for i in range(N): if S[i] == 'a' and A+B > passed: print("Yes") passed += 1 elif S[i] == 'b' and A+B > passed and B >= Fore_rank: print("Yes") Fore_rank += 1 passed += 1 else: print("No")