node_ids listlengths 4 1.4k | edge_index listlengths 1 2.22k | text listlengths 4 1.4k | source stringlengths 14 427k |
|---|---|---|---|
[
7,
15,
0,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
9,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
37,
3
],
[
34,
7
],
[
38,
10
],
[
35,
16
],
[
34,
35
],
[
37,
38
]
] | [
"from collections import Counter\nw = input()\n\nc = Counter(w)\n\nfor i, v in c.items():\n if v % 2 == 0:\n continue\n else:\n print('No')\n exit()\n\nprint('Yes')",
"from collections import Counter",
"w = input()",
"w",
"input()",
"input",
"c = Counter(w)",
"c",
"Counter... | from collections import Counter
w = input()
c = Counter(w)
for i, v in c.items():
if v % 2 == 0:
continue
else:
print('No')
exit()
print('Yes')
|
[
7,
0,
13,
4,
13,
4,
13,
8,
4,
13,
2,
2,
4,
18,
13,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
22,
2
],
[
23,
14
],
[
22,
23
]
] | [
"s=input()\nprint('Yes'if all(s.count(i)%2==0for i in set(s))else'No')",
"s=input()",
"s",
"input()",
"input",
"print('Yes'if all(s.count(i)%2==0for i in set(s))else'No')",
"print",
"'Yes'if all(s.count(i)%2==0for i in set(s))else'No'",
"all(s.count(i)%2==0for i in set(s))",
"all",
"s.count(i)%2... | s=input()
print('Yes'if all(s.count(i)%2==0for i in set(s))else'No') |
[
7,
15,
0,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
3,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13
] | [
[
49,
3
],
[
52,
7
],
[
50,
10
],
[
46,
12
],
[
16,
15
],
[
53,
20
],
[
15,
25
],
[
43,
29
],
[
44,
34
],
[
47,
34
],
[
43,
44
],
[
46,
47
],
[
49,
50
],
[
... | [
"from collections import *\ns=input()\nc=Counter(s)\nf=0\nfor i in list(c.values()):\n if(i%2==1):\n f=1\n break\nif(f==0):\n print('Yes')\nelse:\n print('No')",
"from collections import *",
"s=input()",
"s",
"input()",
"input",
"c=Counter(s)",
"c",
"Counter(s)",
"Counter",
... | from collections import *
s=input()
c=Counter(s)
f=0
for i in list(c.values()):
if(i%2==1):
f=1
break
if(f==0):
print('Yes')
else:
print('No')
|
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
0,
13,
18,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
3,
4,
13,
13,... | [
[
66,
2
],
[
63,
6
],
[
10,
9
],
[
67,
14
],
[
69,
16
],
[
67,
18
],
[
9,
19
],
[
70,
22
],
[
64,
23
],
[
28,
25
],
[
64,
26
],
[
70,
27
],
[
33,
30
],
[
64... | [
"w=input()\ndic={}\nfor i in range(len(w)):\n x=w[i]\n if x in dic:\n dic[x]+=1\n else:\n dic[x]=1\n\nans=\"Yes\"\nfor key in dic.values():\n if key%2==1:\n ans=\"No\"\n break\nprint(ans)",
"w=input()",
"w",
"input()",
"input",
"dic={}",
"dic",
"{}",
"for i in... | w=input()
dic={}
for i in range(len(w)):
x=w[i]
if x in dic:
dic[x]+=1
else:
dic[x]=1
ans="Yes"
for key in dic.values():
if key%2==1:
ans="No"
break
print(ans) |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
40,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
18,
13,
13,
17,
0,
18,
13,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
4,
13,
... | [
[
59,
2
],
[
62,
6
],
[
10,
9
],
[
60,
14
],
[
60,
18
],
[
9,
19
],
[
63,
22
],
[
30,
25
],
[
63,
26
],
[
60,
28
],
[
9,
29
],
[
37,
32
],
[
63,
33
],
[
60,... | [
"w = input()\nd = {}\nfor i in range(len(w)):\n if w[i] not in d.keys():\n d[w[i]] = 1\n else:\n d[w[i]] += 1\n\nfor v in d.values():\n if v%2 != 0:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"d = {}",
"d",
"{}",
"for i in range(len(w)):\n if w... | w = input()
d = {}
for i in range(len(w)):
if w[i] not in d.keys():
d[w[i]] = 1
else:
d[w[i]] += 1
for v in d.values():
if v%2 != 0:
print("No")
exit()
print("Yes")
|
[
7,
15,
13,
12,
13,
0,
13,
4,
13,
15,
0,
13,
4,
13,
13,
0,
13,
4,
13,
40,
2,
18,
13,
13,
17,
17,
4,
13,
8,
2,
13,
17,
17,
17,
10,
4,
13,
10,
4,
13,
10,
12,
13,
10,
4,
13
] | [
[
38,
6
],
[
42,
8
],
[
35,
11
],
[
39,
14
],
[
44,
16
],
[
36,
22
],
[
45,
30
],
[
35,
36
],
[
38,
39
],
[
44,
45
]
] | [
"import sys\ndef LS2(): return list(sys.stdin.readline().rstrip()) #空白なし\n\nw = LS2()\n\nfrom collections import Counter\n\nc = Counter(w)\na = sum(c[i] % 2 != 0 for i in c.keys())\nprint('Yes' if a == 0 else 'No')",
"import sys",
"sys",
"def LS2(): return list(sys.stdin.readline().rstrip()) #空白なし",
"LS2"... | import sys
def LS2(): return list(sys.stdin.readline().rstrip()) #空白なし
w = LS2()
from collections import Counter
c = Counter(w)
a = sum(c[i] % 2 != 0 for i in c.keys())
print('Yes' if a == 0 else 'No')
|
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
0,
13,
17,
0,
13,
4,
13,
4,
13,
13,
18,
13,
13,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
0,
13,
17,
3,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,... | [
[
55,
4
],
[
52,
13
],
[
58,
16
],
[
27,
26
],
[
59,
26
],
[
56,
33
],
[
26,
35
],
[
49,
39
],
[
61,
42
],
[
62,
47
],
[
50,
47
],
[
53,
47
],
[
49,
50
],
[
... | [
"import string\n\nw = list(map(str, input()))\nans = \"\"\n\nalp = list(map(str, string.ascii_lowercase))\nfor char in alp:\n if w.count(char) % 2 == 0:\n ans = \"Yes\"\n else:\n ans = \"No\"\n break\nprint(ans)",
"import string",
"string",
"w = list(map(str, input()))",
"w",
"l... | import string
w = list(map(str, input()))
ans = ""
alp = list(map(str, string.ascii_lowercase))
for char in alp:
if w.count(char) % 2 == 0:
ans = "Yes"
else:
ans = "No"
break
print(ans) |
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
4,
18,
13,
13,
0,
13,
17,
0,
13,
39,
28,
13,
4,
13,
17,
2,
4,
13,
13,
17,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
0,
13,
17,
4,
18,
13,
13,
13,
0,
13,
17,
0,
13,
17,
14,
2,
... | [
[
106,
2
],
[
94,
6
],
[
107,
9
],
[
95,
12
],
[
107,
12
],
[
112,
15
],
[
97,
18
],
[
22,
21
],
[
95,
28
],
[
107,
28
],
[
95,
33
],
[
107,
33
],
[
21,
34
],
[... | [
"str_line = input()\nstr_line = list(str_line)\nstr_line.sort()\n#print(str_line)\ntemp = 0\nstnum_list = []\n\nfor i in range(1,len(str_line)-1):\n if str_line[i] == str_line[i-1]:\n temp += 1\n \n else:\n stnum_list.append(temp)\n temp = 0\n \n\nrsult = 1\n#print(len(str_l... | str_line = input()
str_line = list(str_line)
str_line.sort()
#print(str_line)
temp = 0
stnum_list = []
for i in range(1,len(str_line)-1):
if str_line[i] == str_line[i-1]:
temp += 1
else:
stnum_list.append(temp)
temp = 0
rsult = 1
#print(len(str_line))
if len(str_line... |
[
7,
15,
12,
13,
0,
13,
4,
18,
4,
13,
13,
13,
28,
13,
13,
14,
2,
2,
13,
17,
17,
29,
17,
29,
17,
23,
13,
12,
13,
0,
13,
4,
13,
4,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
12,
13
] | [
[
6,
5
],
[
26,
10
],
[
14,
13
],
[
5,
13
],
[
13,
18
],
[
26,
26
],
[
31,
30
],
[
49,
36
],
[
30,
37
],
[
46,
43
]
] | [
"from collections import Counter\n\n\ndef answer(w: str) -> str:\n counts = Counter(w).values()\n for count in counts:\n if count % 2 == 1:\n return 'No'\n\n return 'Yes'\n\ndef main():\n w = input()\n print(answer(w))\n\nif __name__ == '__main__':\n main()",
"from collections ... | from collections import Counter
def answer(w: str) -> str:
counts = Counter(w).values()
for count in counts:
if count % 2 == 1:
return 'No'
return 'Yes'
def main():
w = input()
print(answer(w))
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
4,
13,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
34,
2
],
[
37,
6
],
[
35,
11
],
[
14,
13
],
[
38,
13
],
[
35,
20
],
[
13,
22
],
[
34,
35
],
[
37,
38
]
] | [
"\nw = input()\ns = set(list(w))\n\nfor item in s:\n if w.count(item) % 2 != 0:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"s = set(list(w))",
"s",
"set(list(w))",
"set",
"list(w)",
"list",
"w",
"for item in s:\n if w.count(item) % 2 !=... |
w = input()
s = set(list(w))
for item in s:
if w.count(item) % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
39,
2
],
[
36,
8
],
[
12,
11
],
[
40,
11
],
[
40,
19
],
[
11,
21
],
[
42,
25
],
[
36,
37
],
[
39,
40
],
[
42,
43
]
] | [
"S = str(input())\nFlag = False\n\nfor i in S:\n if not S.count(i) % 2 == 0:\n Flag = True\n\nif Flag:\n print('No')\n\nelse:\n print('Yes')",
"S = str(input())",
"S",
"str(input())",
"str",
"input()",
"input",
"Flag = False",
"Flag",
"False",
"for i in S:\n if not S.count(i) ... | S = str(input())
Flag = False
for i in S:
if not S.count(i) % 2 == 0:
Flag = True
if Flag:
print('No')
else:
print('Yes')
|
[
7,
0,
13,
4,
13,
4,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
2,
4,
13,
13,
17,
14,
40,
18,
13,
13,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
4,
13,
17,
4,
13,
0,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
17,
... | [
[
66,
2
],
[
67,
9
],
[
63,
12
],
[
16,
15
],
[
67,
21
],
[
67,
26
],
[
15,
27
],
[
67,
29
],
[
15,
31
],
[
64,
36
],
[
70,
36
],
[
73,
36
],
[
72,
45
],
[
... | [
"w = list(input())\n\nw.sort()\n\ncnt = 1\n\nfor i in range(len(w)-1):\n if w[i] != w[i+1]:\n if cnt % 2 == 1:\n print('No')\n exit()\n else:\n cnt = 1\n else:\n cnt += 1\n\nif cnt % 2 == 1:\n print('No')\nelse:\n print('Yes')",
"w = list(input())"... | w = list(input())
w.sort()
cnt = 1
for i in range(len(w)-1):
if w[i] != w[i+1]:
if cnt % 2 == 1:
print('No')
exit()
else:
cnt = 1
else:
cnt += 1
if cnt % 2 == 1:
print('No')
else:
print('Yes') |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
17,
14,
2,
2,
4,
18,
13,
13,
4,
13,
2,
17,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
33,
2
],
[
7,
6
],
[
34,
15
],
[
6,
21
],
[
33,
34
]
] | [
"w = input()\nfor i in range(26):\n if w.count(chr(97+i)) % 2 == 1:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"for i in range(26):\n if w.count(chr(97+i)) % 2 == 1:\n print('No')\n exit()",
"i",
"range(26)",
"range",
"26",
"i... | w = input()
for i in range(26):
if w.count(chr(97+i)) % 2 == 1:
print('No')
exit()
print('Yes')
|
[
7,
41,
28,
13,
4,
13,
13,
4,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
39,
31,
4,
13,
4,
13,
18,
17,
39,
4,
13,
13,
17,
10,
39,
13
] | [
[
4,
3
],
[
3,
14
],
[
33,
18
],
[
33,
34
]
] | [
"s=[*input()];print('NYoe s'[all([s.count(i)%2==0 for i in set(s)])::2])",
"s.count(i)%2==0 for i in set(s)",
"for i in set(s)",
"i",
"set(s)",
"set",
"s",
"for i in set(s)",
"s.count(i)%2==0",
"s.count(i)%2",
"s.count(i)",
"s.count",
"s",
"count",
"i",
"2",
"0",
"s=[*input()]",
... | s=[*input()];print('NYoe s'[all([s.count(i)%2==0 for i in set(s)])::2]) |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
40,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
0,
13,
17,
8,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
17,
13,... | [
[
48,
2
],
[
57,
8
],
[
49,
13
],
[
54,
15
],
[
19,
18
],
[
58,
23
],
[
49,
29
],
[
58,
32
],
[
18,
33
],
[
51,
37
],
[
52,
40
],
[
55,
40
],
[
48,
49
],
[
... | [
"w = list(input())\ns = list(set(w))\n\nbeautiful = True\nfor i in range(len(s)):\n if w.count(s[i]) % 2 != 0:\n beautiful = False\n\nprint(\"Yes\") if beautiful else print(\"No\")",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"s = list(set(w))",
"s",
"list(set(w))",... | w = list(input())
s = list(set(w))
beautiful = True
for i in range(len(s)):
if w.count(s[i]) % 2 != 0:
beautiful = False
print("Yes") if beautiful else print("No") |
[
7,
0,
13,
4,
13,
4,
13,
41,
28,
13,
4,
13,
17,
17,
17,
4,
13,
0,
13,
13,
0,
13,
39,
0,
13,
4,
13,
13,
41,
28,
13,
13,
4,
4,
18,
13,
13,
13,
0,
13,
13,
14,
2,
4,
13,
2,
2,
13,
17,
17,
17,
4,
13,
17,
4,
13,
... | [
[
61,
2
],
[
10,
9
],
[
9,
16
],
[
70,
18
],
[
67,
21
],
[
58,
24
],
[
62,
27
],
[
31,
30
],
[
59,
30
],
[
62,
35
],
[
30,
37
],
[
64,
39
],
[
58,
59
],
[
6... | [
"a = list(input())\neven_number = [x for x in range(0,101,2)]\ntmp_list = []\ntmp_set = set(a)\n\ntmp_list = [a.count(x) for x in tmp_set]\nif all(x % 2 == 0 for x in tmp_list) == True:\n print(\"Yes\")\nelse:\n print(\"No\")",
"a = list(input())",
"a",
"list(input())",
"list",
"input()",
"input",... | a = list(input())
even_number = [x for x in range(0,101,2)]
tmp_list = []
tmp_set = set(a)
tmp_list = [a.count(x) for x in tmp_set]
if all(x % 2 == 0 for x in tmp_list) == True:
print("Yes")
else:
print("No") |
[
7,
15,
13,
41,
28,
13,
4,
18,
4,
18,
13,
13,
4,
13,
13,
4,
8,
2,
2,
13,
17,
17,
17,
17,
4,
13,
18,
17,
39,
4,
13,
13,
17
] | [
[
6,
5
],
[
5,
19
]
] | [
"import collections as c\nprint('NYoe s'[all([1 if i%2==0 else 0 for i in c.Counter(input()).values()])::2])",
"import collections as c",
"collections",
"1 if i%2==0 else 0 for i in c.Counter(input()).values()",
"for i in c.Counter(input()).values()",
"i",
"c.Counter(input()).values()",
"c.Counter(inp... | import collections as c
print('NYoe s'[all([1 if i%2==0 else 0 for i in c.Counter(input()).values()])::2]) |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
48,
2
],
[
45,
8
],
[
49,
11
],
[
42,
13
],
[
17,
16
],
[
46,
16
],
[
49,
23
],
[
16,
25
],
[
51,
29
],
[
52,
33
],
[
43,
33
],
[
42,
43
],
[
45,
46
],
[
... | [
"w = sorted(input())\nelements = set(w)\n\ncheck = 0\n\nfor e in elements:\n if w.count(e)%2 != 0:\n check = 1\n\n\nif check == 0:\n print(\"Yes\")\nelse:\n print(\"No\")",
"w = sorted(input())",
"w",
"sorted(input())",
"sorted",
"input()",
"input",
"elements = set(w)",
"elements",
"set(... | w = sorted(input())
elements = set(w)
check = 0
for e in elements:
if w.count(e)%2 != 0:
check = 1
if check == 0:
print("Yes")
else:
print("No") |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
13,
14,
40,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
30,
2
],
[
7,
6
],
[
31,
9
],
[
31,
16
],
[
6,
18
],
[
30,
31
]
] | [
"s = input()\nfor i in set(s):\n if not s.count(i) % 2 == 0:\n print('No')\n exit()\n\nprint('Yes')",
"s = input()",
"s",
"input()",
"input",
"for i in set(s):\n if not s.count(i) % 2 == 0:\n print('No')\n exit()",
"i",
"set(s)",
"set",
"s",
"if not s.count(i) %... | s = input()
for i in set(s):
if not s.count(i) % 2 == 0:
print('No')
exit()
print('Yes')
|
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
12,
13,
0,
13,
4,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
28,
13,
13,
14,
2,
2,
4,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
18,
13,
10,
12... | [
[
52,
4
],
[
14,
13
],
[
53,
19
],
[
23,
22
],
[
13,
25
],
[
28,
27
],
[
22,
27
],
[
56,
50
],
[
52,
53
]
] | [
"import sys\ninput = sys.stdin.readline\n\ndef solve():\n w = list(input().rstrip())\n s = set(w)\n for i in s:\n if len([x for x in w if x == i]) % 2 == 1:\n print('No')\n exit()\n print('Yes')\n\nif __name__ == \"__main__\":\n solve()",
"import sys",
"sys",
"input... | import sys
input = sys.stdin.readline
def solve():
w = list(input().rstrip())
s = set(w)
for i in s:
if len([x for x in w if x == i]) % 2 == 1:
print('No')
exit()
print('Yes')
if __name__ == "__main__":
solve() |
[
7,
15,
13,
0,
13,
4,
13,
41,
28,
13,
13,
4,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
4,
1... | [
[
54,
4
],
[
10,
9
],
[
55,
9
],
[
9,
12
],
[
57,
14
],
[
51,
21
],
[
25,
24
],
[
58,
27
],
[
24,
32
],
[
48,
36
],
[
48,
49
],
[
51,
52
],
[
54,
55
],
[
57... | [
"import collections\nw = input()\n_dict = collections.Counter([x for x in w])\nflag = True\nfor i in _dict.values():\n if i%2 == 1:\n flag = False\n break\nif flag:\n print('Yes')\nelse:\n print('No')",
"import collections",
"collections",
"w = input()",
"w",
"input()",
"input",
... | import collections
w = input()
_dict = collections.Counter([x for x in w])
flag = True
for i in _dict.values():
if i%2 == 1:
flag = False
break
if flag:
print('Yes')
else:
print('No') |
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
7,
6
],
[
28,
6
],
[
28,
13
],
[
6,
15
],
[
27,
28
]
] | [
"#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\nw = input()\n\nfor s in w:\n if (w.count(s) % 2 != 0):\n print(\"No\")\n exit()\n\nprint(\"Yes\")"... | #k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
w = input()
for s in w:
if (w.count(s) % 2 != 0):
print("No")
exit()
print("Yes")
|
[
7,
15,
13,
15,
0,
13,
12,
4,
13,
4,
18,
18,
13,
13,
13,
0,
13,
12,
4,
13,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,
13,
4,
13,
0,
13,
12,
4,
13,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,... | [
[
108,
5
],
[
99,
16
],
[
90,
31
],
[
100,
36
],
[
102,
38
],
[
105,
53
],
[
103,
58
],
[
96,
60
],
[
93,
64
],
[
97,
67
],
[
70,
69
],
[
94,
72
],
[
94,
77
],
... | [
"import sys\nfrom collections import Counter\n\n\ninint = lambda: int(sys.stdin.readline())\ninintm = lambda: map(int, sys.stdin.readline().split())\ninintl = lambda: list(inintm())\ninstrm = lambda: map(str, sys.stdin.readline().split())\ninstrl = lambda: list(instrm())\n\nw = input()\n\nc = Counter(w)\n\nfor i in... | import sys
from collections import Counter
inint = lambda: int(sys.stdin.readline())
inintm = lambda: map(int, sys.stdin.readline().split())
inintl = lambda: list(inintm())
instrm = lambda: map(str, sys.stdin.readline().split())
instrl = lambda: list(instrm())
w = input()
c = Counter(w)
for i in tuple(c):
if c... |
[
7,
0,
13,
2,
39,
17,
17,
0,
13,
4,
13,
28,
13,
4,
13,
4,
13,
13,
0,
18,
13,
2,
4,
13,
18,
13,
13,
17,
17,
28,
13,
4,
13,
17,
14,
2,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
2,
13,
10,
4,
13
] | [
[
51,
2
],
[
54,
8
],
[
13,
12
],
[
55,
17
],
[
28,
19
],
[
52,
20
],
[
55,
25
],
[
12,
26
],
[
31,
30
],
[
52,
38
],
[
30,
39
],
[
51,
52
],
[
54,
55
]
] | [
"li = [0]*26\nw = input()\nfor i in range(len(w)):\n li[ord(w[i])-97] += 1\nfor i in range(26):\n if li[i] % 2 == 1:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"li = [0]*26",
"li",
"[0]*26",
"[0]",
"0",
"26",
"w = input()",
"w",
"input()",
"input",
"for i in range(len(w)):\... | li = [0]*26
w = input()
for i in range(len(w)):
li[ord(w[i])-97] += 1
for i in range(26):
if li[i] % 2 == 1:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
3,
4,
13,
8,
2,
13,
17,
17,
17,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
36,
2
],
[
42,
8
],
[
12,
11
],
[
37,
11
],
[
37,
18
],
[
43,
19
],
[
40,
19
],
[
11,
20
],
[
39,
24
],
[
40,
31
],
[
43,
31
],
[
36,
37
],
[
39,
40
],
[
... | [
"w = str(input())\ncount = 0\nfor i in w:\n if w.count(i) % 2 == 0:\n pass\n else:\n count = 1\n break\nprint(\"Yes\" if count == 0 else \"No\")",
"w = str(input())",
"w",
"str(input())",
"str",
"input()",
"input",
"count = 0",
"count",
"0",
"for i in w:\n if w.coun... | w = str(input())
count = 0
for i in w:
if w.count(i) % 2 == 0:
pass
else:
count = 1
break
print("Yes" if count == 0 else "No") |
[
7,
0,
13,
4,
13,
4,
13,
18,
17,
39,
4,
13,
2,
2,
4,
18,
13,
13,
13,
17,
17,
17,
10,
4,
13
] | [
[
23,
2
],
[
24,
16
],
[
23,
24
]
] | [
"s=input()\nprint('NYoe s'[all(s.count(i)%2==0 for i in s)::2])",
"s=input()",
"s",
"input()",
"input",
"print('NYoe s'[all(s.count(i)%2==0 for i in s)::2])",
"print",
"'NYoe s'[all(s.count(i)%2==0 for i in s)::2]",
"'NYoe s'",
"all(s.count(i)%2==0 for i in s)::2",
"all(s.count(i)%2==0 for i in ... | s=input()
print('NYoe s'[all(s.count(i)%2==0 for i in s)::2]) |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
33,
2
],
[
7,
6
],
[
34,
11
],
[
34,
17
],
[
34,
20
],
[
6,
21
],
[
33,
34
]
] | [
"w = input()\nfor i in range(len(w)):\n if w.count(w[i]) % 2 == 1:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"for i in range(len(w)):\n if w.count(w[i]) % 2 == 1:\n print('No')\n exit()",
"i",
"range(len(w))",
"range",
"len(w)"... | w = input()
for i in range(len(w)):
if w.count(w[i]) % 2 == 1:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
4,
13,
13,
14,
40,
18,
13,
13,
13,
0,
18,
13,
18,
13,
13,
17,
0,
18,
13,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
4,
13,
17,
4,
13,
4,
1... | [
[
58,
2
],
[
61,
6
],
[
10,
9
],
[
59,
16
],
[
59,
20
],
[
9,
21
],
[
62,
22
],
[
29,
24
],
[
62,
25
],
[
59,
27
],
[
9,
28
],
[
36,
31
],
[
62,
32
],
[
59,... | [
"w=input()\nd={}\nfor i in range(int(len(w))):\n if w[i] not in d:\n d[w[i]]=1\n else:\n d[w[i]]+=1\nfor i in d.values():\n if i%2==1:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w=input()",
"w",
"input()",
"input",
"d={}",
"d",
"{}",
"for i in range(int(len(w)))... | w=input()
d={}
for i in range(int(len(w))):
if w[i] not in d:
d[w[i]]=1
else:
d[w[i]]+=1
for i in d.values():
if i%2==1:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
0,
13,
4,
18,
13,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13
] | [
[
41,
2
],
[
44,
6
],
[
10,
9
],
[
42,
9
],
[
47,
12
],
[
42,
15
],
[
9,
17
],
[
48,
21
],
[
38,
25
],
[
39,
29
],
[
45,
29
],
[
38,
39
],
[
41,
42
],
[
44,... | [
"NN = input()\ntotal = 0\nfor i in NN:\n a = NN.count(i)\n if a%2 ==0:\n pass\n else:\n total +=1\nif total ==0:\n print('Yes')\nelse:\n print('No')\n ",
"NN = input()",
"NN",
"input()",
"input",
"total = 0",
"total",
"0",
"for i in NN:\n a = NN.count(i)\n if a%2 ==0:\n pass\n el... | NN = input()
total = 0
for i in NN:
a = NN.count(i)
if a%2 ==0:
pass
else:
total +=1
if total ==0:
print('Yes')
else:
print('No')
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
17,
13,
10,
4,
13,
... | [
[
53,
2
],
[
56,
6
],
[
54,
9
],
[
50,
11
],
[
15,
14
],
[
57,
14
],
[
20,
17
],
[
51,
18
],
[
14,
19
],
[
23,
22
],
[
54,
22
],
[
28,
25
],
[
51,
26
],
[
2... | [
"w = input()\nw_set = set(w)\nd = {}\nfor i in w_set:\n d[i] = 0\nfor i in w:\n d[i] += 1\n\nfor i in d.values():\n if i % 2 != 0:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"w_set = set(w)",
"w_set",
"set(w)",
"set",
"w",
"d = {}",
... | w = input()
w_set = set(w)
d = {}
for i in w_set:
d[i] = 0
for i in w:
d[i] += 1
for i in d.values():
if i % 2 != 0:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
17,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
37,
2
],
[
46,
5
],
[
43,
9
],
[
13,
12
],
[
38,
12
],
[
47,
19
],
[
12,
21
],
[
40,
25
],
[
37,
38
],
[
40,
41
],
[
43,
44
],
[
46,
47
]
] | [
"#!/usr/bin/env python3\n\nalpha = {\n 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',\n}\n\nS = input()\n\nflg = True\nfor a in alpha:\n if S.count(a) % 2 != 0:\n flg = False\n break\n\nif flg:\n print(\"Yes\")\nelse:\n print(\"No\"... | #!/usr/bin/env python3
alpha = {
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
}
S = input()
flg = True
for a in alpha:
if S.count(a) % 2 != 0:
flg = False
break
if flg:
print("Yes")
else:
print("No")
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
3,
14,
2,
13,
4,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
1... | [
[
61,
2
],
[
67,
6
],
[
62,
9
],
[
55,
11
],
[
68,
16
],
[
70,
18
],
[
56,
21
],
[
64,
23
],
[
27,
26
],
[
56,
26
],
[
68,
33
],
[
26,
35
],
[
58,
39
],
[
5... | [
"w = input()\nwl = list(w)\nwu = list(set(wl))\nwu_len = len(wu)\ncounter = 0\nfor wo in wu:\n if wl.count(wo) % 2 == 0:\n counter+=1\n else:\n break\nif counter == int(wu_len):\n print(\"Yes\")\nelse:\n print(\"No\")",
"w = input()",
"w",
"input()",
"input",
"wl = list(w)",
"wl",
"list(w)"... | w = input()
wl = list(w)
wu = list(set(wl))
wu_len = len(wu)
counter = 0
for wo in wu:
if wl.count(wo) % 2 == 0:
counter+=1
else:
break
if counter == int(wu_len):
print("Yes")
else:
print("No") |
[
7,
15,
13,
15,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
2,
17,
17,
0,
13,
17,
12,
13,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
0,
1... | [
[
93,
5
],
[
87,
12
],
[
90,
19
],
[
99,
33
],
[
96,
38
],
[
44,
43
],
[
88,
47
],
[
51,
50
],
[
43,
53
],
[
56,
55
],
[
59,
58
],
[
50,
61
],
[
58,
65
],
[
... | [
"import sys\nfrom collections import Counter\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n w = readline().strip()\n c = Counter(w)\n\n ok = True\n for v in c.values():\n ... | import sys
from collections import Counter
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007
def main():
w = readline().strip()
c = Counter(w)
ok = True
for v in c.values():
if v % 2:
... |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
4,
18,
13,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
1... | [
[
52,
2
],
[
61,
8
],
[
12,
11
],
[
53,
11
],
[
62,
15
],
[
11,
17
],
[
23,
20
],
[
62,
21
],
[
11,
22
],
[
58,
25
],
[
29,
28
],
[
62,
31
],
[
28,
36
],
[
... | [
"w = str(input())\ndic = {}\nfor s in w:\n dic.setdefault(s,0)\n dic[s] += 1\n#print(dic)\nisOK = True\nfor i in dic.values():\n if i % 2 != 0:\n isOK = False\n break\nif isOK:\n print('Yes')\nelse:\n print('No')",
"w = str(input())",
"w",
"str(input())",
"str",
"input()",
"... | w = str(input())
dic = {}
for s in w:
dic.setdefault(s,0)
dic[s] += 1
#print(dic)
isOK = True
for i in dic.values():
if i % 2 != 0:
isOK = False
break
if isOK:
print('Yes')
else:
print('No')
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
0,
13,
17,
3,
14,
2,
13,
17,
4,
13,
17,... | [
[
69,
2
],
[
66,
6
],
[
63,
10
],
[
14,
13
],
[
70,
13
],
[
13,
17
],
[
67,
18
],
[
23,
20
],
[
67,
21
],
[
13,
22
],
[
28,
25
],
[
67,
26
],
[
13,
27
],
[
... | [
"w = input()\nd = dict()\nflag = 0\nfor i in w:\n if i in d:\n d[i]+=1\n else:\n d[i] = 1\nfor k,v in d.items():\n if v%2==0:\n flag=1\n else:\n flag=0\n break\nif flag==1:\n print(\"Yes\")\nelse:\n print(\"No\")",
"w = input()",
"w",
"input()",
"input",
... | w = input()
d = dict()
flag = 0
for i in w:
if i in d:
d[i]+=1
else:
d[i] = 1
for k,v in d.items():
if v%2==0:
flag=1
else:
flag=0
break
if flag==1:
print("Yes")
else:
print("No")
|
[
7,
0,
13,
4,
13,
41,
28,
13,
4,
13,
17,
2,
17,
17,
4,
4,
13,
13,
0,
13,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10... | [
[
50,
2
],
[
8,
7
],
[
7,
17
],
[
59,
19
],
[
56,
22
],
[
26,
25
],
[
60,
25
],
[
51,
32
],
[
25,
34
],
[
53,
38
],
[
50,
51
],
[
53,
54
],
[
56,
57
],
[
59... | [
"s = input()\nacsii = [chr(i) for i in range(97, 97+26)]\nflag = True\nfor i in acsii:\n if s.count(i) % 2 != 0:\n flag = False\n break\n\nif flag:\n print('Yes')\nelse:\n print(\"No\")",
"s = input()",
"s",
"input()",
"input",
"chr(i) for i in range(97, 97+26)",
"for i in range(9... | s = input()
acsii = [chr(i) for i in range(97, 97+26)]
flag = True
for i in acsii:
if s.count(i) % 2 != 0:
flag = False
break
if flag:
print('Yes')
else:
print("No")
|
[
7,
0,
13,
4,
13,
0,
13,
17,
0,
13,
4,
13,
4,
13,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
47,
2
],
[
41,
6
],
[
44,
9
],
[
48,
14
],
[
17,
16
],
[
45,
16
],
[
48,
23
],
[
16,
25
],
[
50,
32
],
[
41,
42
],
[
44,
45
],
[
47,
48
],
[
50,
51
]
] | [
"w = input()\nbea = True\n\nelements = set(list(w))\nfor element in elements:\n if w.count(element) % 2 != 0:\n print(\"No\")\n bea = False\n break\n\nif bea:\n print(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"bea = True",
"bea",
"True",
"elements = set(list(w))",... | w = input()
bea = True
elements = set(list(w))
for element in elements:
if w.count(element) % 2 != 0:
print("No")
bea = False
break
if bea:
print("Yes") |
[
7,
41,
28,
13,
13,
4,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
4,
13,
4,
13,
18,
17,
39,
4,
13,
13,
17,
10,
4,
13
] | [
[
4,
3
],
[
3,
12
],
[
29,
16
],
[
29,
30
]
] | [
"s=input();print('NYoe s'[all([s.count(i)%2==0 for i in s])::2])",
"s.count(i)%2==0 for i in s",
"for i in s",
"i",
"s",
"for i in s",
"s.count(i)%2==0",
"s.count(i)%2",
"s.count(i)",
"s.count",
"s",
"count",
"i",
"2",
"0",
"s=input()",
"s",
"input()",
"input",
"print('NYoe s'[... | s=input();print('NYoe s'[all([s.count(i)%2==0 for i in s])::2]) |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
17,
13,
10,
4,
13
] | [
[
48,
2
],
[
45,
6
],
[
10,
9
],
[
49,
9
],
[
9,
13
],
[
46,
14
],
[
19,
16
],
[
46,
17
],
[
9,
18
],
[
24,
21
],
[
46,
22
],
[
9,
23
],
[
27,
26
],
[
46,
... | [
"w=input()\nd={}\nfor c in w:\n if c in d:\n d[c]+=1\n else:\n d[c]=1\nfor k in d:\n if d[k]%2!=0:\n print('No')\n exit()\nprint('Yes')",
"w=input()",
"w",
"input()",
"input",
"d={}",
"d",
"{}",
"for c in w:\n if c in d:\n d[c]+=1\n else:\n d[... | w=input()
d={}
for c in w:
if c in d:
d[c]+=1
else:
d[c]=1
for k in d:
if d[k]%2!=0:
print('No')
exit()
print('Yes')
|
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
17,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
33,
2
],
[
36,
8
],
[
14,
13
],
[
37,
13
],
[
34,
20
],
[
13,
22
],
[
33,
34
],
[
36,
37
]
] | [
"w = list(input())\nal = list(\"abcdefghijklmnopqrstuvwxyz\")\nfor i in al:\n if w.count(i)%2==1:\n print(\"No\")\n break\nelse:\n print(\"Yes\")",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"al = list(\"abcdefghijklmnopqrstuvwxyz\")",
"al",
"list(\"... | w = list(input())
al = list("abcdefghijklmnopqrstuvwxyz")
for i in al:
if w.count(i)%2==1:
print("No")
break
else:
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
17,
13,
10,
4,
13
] | [
[
47,
2
],
[
44,
6
],
[
10,
9
],
[
48,
9
],
[
9,
13
],
[
45,
14
],
[
19,
16
],
[
45,
17
],
[
9,
18
],
[
24,
21
],
[
45,
22
],
[
9,
23
],
[
27,
26
],
[
45,
... | [
"w=input()\ndi={}\nfor i in w:\n if i in di:\n di[i]+=1\n else:\n di[i]=1\nfor i in di.values():\n if i&1:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w=input()",
"w",
"input()",
"input",
"di={}",
"di",
"{}",
"for i in w:\n if i in di:\n di[i]+=1\n e... | w=input()
di={}
for i in w:
if i in di:
di[i]+=1
else:
di[i]=1
for i in di.values():
if i&1:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
13,
14,
40,
13,
4,
18,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
3,
4,
13,
13,
10,
4,
1... | [
[
54,
2
],
[
57,
6
],
[
10,
9
],
[
55,
12
],
[
9,
15
],
[
58,
18
],
[
24,
21
],
[
58,
22
],
[
9,
23
],
[
29,
26
],
[
58,
27
],
[
9,
28
],
[
60,
31
],
[
58,
... | [
"w = input()\n\nd = {}\n\nfor i in list(w):\n if i not in d.keys():\n d[i] = 1\n else:\n d[i] += 1\n\nans = 'Yes'\nfor _, v in d.items():\n if v%2 != 0:\n ans = 'No'\n break\nprint(ans)",
"w = input()",
"w",
"input()",
"input",
"d = {}",
"d",
"{}",
"for i in list... | w = input()
d = {}
for i in list(w):
if i not in d.keys():
d[i] = 1
else:
d[i] += 1
ans = 'Yes'
for _, v in d.items():
if v%2 != 0:
ans = 'No'
break
print(ans)
|
[
7,
0,
13,
4,
13,
4,
13,
14,
4,
13,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
26,
2
],
[
27,
14
],
[
26,
27
]
] | [
"s = list(input())\nif all(s.count(x) % 2 == 0 for x in set(s)):\n print(\"Yes\")\nelse:\n print(\"No\")",
"s = list(input())",
"s",
"list(input())",
"list",
"input()",
"input",
"if all(s.count(x) % 2 == 0 for x in set(s)):\n print(\"Yes\")\nelse:\n print(\"No\")",
"all(s.count(x) % 2 == 0 for x... | s = list(input())
if all(s.count(x) % 2 == 0 for x in set(s)):
print("Yes")
else:
print("No") |
[
7,
15,
12,
13,
0,
13,
4,
13,
12,
17,
28,
13,
13,
0,
18,
13,
13,
17,
14,
4,
13,
2,
13,
17,
29,
17,
29,
17,
23,
13,
4,
13,
8,
4,
13,
4,
13,
17,
17,
10,
12,
13
] | [
[
6,
5
],
[
12,
11
],
[
29,
11
],
[
17,
14
],
[
5,
15
],
[
11,
16
],
[
29,
29
],
[
41,
34
]
] | [
"from collections import defaultdict as dd\ndef beautiful(s):\n D = dd(lambda:0)\n for c in s:\n D[c] += 1\n if any(d&1 for d in D.values()):\n return False\n else:\n return True\n\nprint('Yes' if beautiful(input()) else 'No') ",
"from collections import defaultdict as dd",
"def... | from collections import defaultdict as dd
def beautiful(s):
D = dd(lambda:0)
for c in s:
D[c] += 1
if any(d&1 for d in D.values()):
return False
else:
return True
print('Yes' if beautiful(input()) else 'No')
|
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
40,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
46,
2
],
[
40,
6
],
[
10,
9
],
[
47,
14
],
[
47,
20
],
[
47,
23
],
[
9,
24
],
[
43,
28
],
[
40,
41
],
[
43,
44
],
[
46,
47
]
] | [
"w = input()\ntf = True\n\nfor i in range(len(w)):\n if w.count(w[i]) % 2 != 0:\n tf = False\n break\n\nif tf:\n print(\"Yes\")\nelse:\n print(\"No\")",
"w = input()",
"w",
"input()",
"input",
"tf = True",
"tf",
"True",
"for i in range(len(w)):\n if w.count(w[i]) % 2 != 0:\... | w = input()
tf = True
for i in range(len(w)):
if w.count(w[i]) % 2 != 0:
tf = False
break
if tf:
print("Yes")
else:
print("No") |
[
7,
0,
13,
4,
13,
0,
13,
39,
28,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
0,
13,
2,
13,
2,
4,
18,
13,
13,
18,
13,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,... | [
[
62,
2
],
[
59,
6
],
[
10,
9
],
[
63,
14
],
[
60,
17
],
[
63,
20
],
[
9,
21
],
[
65,
23
],
[
27,
26
],
[
60,
31
],
[
56,
33
],
[
66,
35
],
[
57,
35
],
[
60... | [
"#ABC044B\nn=input()\na=[]\nfor i in range(len(n)):\n a.append(n[i])\nsum_=0\nfor i2 in range(len(a)):\n sum_=sum_+a.count(a[i2])%2\n\nif sum_ == 0:\n print(\"Yes\")\nelse:\n print(\"No\")",
"n=input()",
"n",
"input()",
"input",
"a=[]",
"a",
"[]",
"for i in range(len(n)):\n a.append... | #ABC044B
n=input()
a=[]
for i in range(len(n)):
a.append(n[i])
sum_=0
for i2 in range(len(a)):
sum_=sum_+a.count(a[i2])%2
if sum_ == 0:
print("Yes")
else:
print("No") |
[
7,
0,
13,
4,
13,
4,
13,
28,
13,
4,
13,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
9,
8
],
[
35,
13
],
[
35,
19
],
[
35,
22
],
[
8,
23
],
[
34,
35
]
] | [
"w = list(input())\nfor i in range(len(w)):\n if w.count(w[i])%2 == 1:\n print('No')\n break\nelse:\n print('Yes')",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"for i in range(len(w)):\n if w.count(w[i])%2 == 1:\n print('No')\n break\nelse:\n print('Yes')",
... | w = list(input())
for i in range(len(w)):
if w.count(w[i])%2 == 1:
print('No')
break
else:
print('Yes') |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13
] | [
[
28,
2
],
[
7,
6
],
[
29,
9
],
[
29,
15
],
[
6,
17
],
[
28,
29
]
] | [
"s = input()\nfor i in set(s):\n if s.count(i) % 2 != 0:\n print(\"No\")\n break\nelse:\n print(\"Yes\")",
"s = input()",
"s",
"input()",
"input",
"for i in set(s):\n if s.count(i) % 2 != 0:\n print(\"No\")\n break\nelse:\n print(\"Yes\")",
"i",
"set(s)",
"set... | s = input()
for i in set(s):
if s.count(i) % 2 != 0:
print("No")
break
else:
print("Yes") |
[
7,
0,
13,
4,
13,
42,
40,
4,
13,
13,
17,
14,
2,
2,
4,
18,
13,
13,
18,
13,
17,
17,
17,
4,
13,
17,
0,
13,
17,
3,
0,
13,
18,
13,
17,
0,
13,
4,
18,
13,
13,
13,
17,
14,
40,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13... | [
[
54,
2
],
[
55,
9
],
[
52,
9
],
[
55,
16
],
[
52,
16
],
[
55,
19
],
[
52,
19
],
[
60,
27
],
[
57,
31
],
[
55,
33
],
[
52,
33
],
[
51,
36
],
[
55,
39
],
[
5... | [
"w = input ()\nwhile len(w) != 0:\n if (w.count(w[0]))%2 == 1:\n print ('No')\n x = 0\n break\n else:\n x = w[0]\n w = w.replace(x,'')\nif x != 0:\n print ('Yes')",
"w = input ()",
"w",
"input ()",
"input",
"while len(w) != 0:\n if (w.count(w[0]))%2 == 1:\n print ('No')\n x = 0\n ... | w = input ()
while len(w) != 0:
if (w.count(w[0]))%2 == 1:
print ('No')
x = 0
break
else:
x = w[0]
w = w.replace(x,'')
if x != 0:
print ('Yes') |
[
7,
0,
13,
17,
0,
13,
4,
13,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
0,
13,
2,
2,
18,
13,
13,
17,
17,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
... | [
[
49,
2
],
[
52,
5
],
[
10,
9
],
[
53,
9
],
[
9,
13
],
[
50,
14
],
[
19,
16
],
[
50,
17
],
[
9,
18
],
[
24,
21
],
[
50,
22
],
[
9,
23
],
[
55,
26
],
[
30,
... | [
"D={}\nW=input()\n\nfor w in W:\n if w in D:\n D[w]+=1\n else:\n D[w]=1\n\nF=True\nfor a in D:\n F&=(D[a]%2==0)\n\nif F:\n print(\"Yes\")\nelse:\n print(\"No\")",
"D={}",
"D",
"{}",
"W=input()",
"W",
"input()",
"input",
"for w in W:\n if w in D:\n D[w]+=1\n ... | D={}
W=input()
for w in W:
if w in D:
D[w]+=1
else:
D[w]=1
F=True
for a in D:
F&=(D[a]%2==0)
if F:
print("Yes")
else:
print("No")
|
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
40,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
17,
13,
10,
4,
13
] | [
[
50,
2
],
[
47,
6
],
[
10,
9
],
[
51,
9
],
[
9,
13
],
[
48,
14
],
[
19,
16
],
[
48,
17
],
[
9,
18
],
[
24,
21
],
[
48,
22
],
[
9,
23
],
[
48,
30
],
[
47,
... | [
"w = input()\ndict = {}\nfor i in w:\n if i not in dict:\n dict[i] = 1\n else:\n dict[i] +=1\nfor key, value in dict.items():\n if value % 2 != 0:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"dict = {}",
"dict",
"{}",
"for i in w:\n if i not in ... | w = input()
dict = {}
for i in w:
if i not in dict:
dict[i] = 1
else:
dict[i] +=1
for key, value in dict.items():
if value % 2 != 0:
print("No")
exit()
print("Yes") |
[
7,
15,
13,
0,
13,
4,
13,
0,
13,
4,
13,
13,
14,
40,
2,
4,
13,
13,
17,
17,
4,
13,
17,
4,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
28,
13,
4,
13,
4,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
4,
... | [
[
64,
4
],
[
73,
8
],
[
65,
11
],
[
74,
17
],
[
65,
17
],
[
67,
26
],
[
74,
31
],
[
65,
31
],
[
70,
33
],
[
68,
38
],
[
42,
41
],
[
71,
46
],
[
68,
46
],
[
... | [
"import collections\nw = input()\nw = sorted(w)\n\nif len(w) % 2 != 0:\n print('No')\n exit()\nC = collections.Counter(w)\n\nC = list(C.values())\n\n\nfor i in range(len(C)):\n if C[i] % 2 != 0:\n print('No')\n exit()\n\nprint('Yes')",
"import collections",
"collections",
"w = input()",... | import collections
w = input()
w = sorted(w)
if len(w) % 2 != 0:
print('No')
exit()
C = collections.Counter(w)
C = list(C.values())
for i in range(len(C)):
if C[i] % 2 != 0:
print('No')
exit()
print('Yes')
|
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
18,
13,
13,
13,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
33,
2
],
[
7,
6
],
[
34,
6
],
[
34,
13
],
[
6,
15
],
[
34,
20
],
[
6,
22
],
[
33,
34
]
] | [
"w = input()\n\nfor x in w:\n if w.count(x) % 2 == 0:\n w.replace(x, '')\n else:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"for x in w:\n if w.count(x) % 2 == 0:\n w.replace(x, '')\n else:\n print('No')\n exit()",
"x",
"w",
"if w.count(x) % ... | w = input()
for x in w:
if w.count(x) % 2 == 0:
w.replace(x, '')
else:
print('No')
exit()
print('Yes') |
[
7,
15,
13,
15,
12,
13,
12,
13,
0,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13,
... | [
[
10,
9
],
[
54,
11
],
[
14,
13
],
[
19,
18
],
[
9,
18
],
[
22,
21
],
[
25,
24
],
[
13,
24
],
[
13,
30
],
[
24,
31
],
[
36,
35
],
[
57,
51
]
] | [
"import sys\nfrom collections import defaultdict\ndef input(): return sys.stdin.readline().strip()\n\ndef main():\n w = input()\n d = defaultdict(int)\n for c in w: d[c] += 1\n cond = True\n for key in d:\n if d[key] % 2 != 0:\n cond = False\n break\n if cond:\n ... | import sys
from collections import defaultdict
def input(): return sys.stdin.readline().strip()
def main():
w = input()
d = defaultdict(int)
for c in w: d[c] += 1
cond = True
for key in d:
if d[key] % 2 != 0:
cond = False
break
if cond:
print("Yes")
e... |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
9,
14,
2,
13,
4,
13,
4,
18,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
... | [
[
51,
4
],
[
54,
10
],
[
52,
15
],
[
57,
17
],
[
21,
20
],
[
55,
23
],
[
20,
28
],
[
60,
32
],
[
61,
37
],
[
58,
37
],
[
55,
42
],
[
51,
52
],
[
54,
55
],
[
... | [
"import collections \n\nw = str(input())\nx = collections.Counter(w)\nn = 0\n\n \nfor i in x.values():\n if i % 2 ==0:\n n += 1\n continue\n \n\nif n == len(x.values()):\n print('Yes')\n\nelse:\n print('No')\n\n ",
"import collections",
"collections",
"w = str(input())",
"w",... | import collections
w = str(input())
x = collections.Counter(w)
n = 0
for i in x.values():
if i % 2 ==0:
n += 1
continue
if n == len(x.values()):
print('Yes')
else:
print('No')
|
[
7,
15,
0,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
9,
0,
13,
17,
3,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
41,
3
],
[
38,
7
],
[
42,
10
],
[
44,
12
],
[
16,
15
],
[
39,
18
],
[
42,
18
],
[
15,
23
],
[
35,
28
],
[
36,
33
],
[
45,
33
],
[
35,
36
],
[
38,
39
],
[
... | [
"from collections import Counter\n\nw = input()\n\nw = Counter(w)\n\nresult = 'Yes'\nfor v in w.values():\n if v % 2 == 0:\n continue\n else:\n result = 'No'\n break\nprint(result)",
"from collections import Counter",
"w = input()",
"w",
"input()",
"input",
"w = Counter(w)",
... | from collections import Counter
w = input()
w = Counter(w)
result = 'Yes'
for v in w.values():
if v % 2 == 0:
continue
else:
result = 'No'
break
print(result) |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
28,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
4
],
[
45,
10
],
[
43,
15
],
[
48,
17
],
[
46,
22
],
[
26,
25
],
[
49,
25
],
[
25,
30
],
[
42,
43
],
[
45,
46
],
[
48,
49
]
] | [
"import collections\nw=str(input())\ncc=collections.Counter(w)\n\na=list(cc.values())\nfor ans in a:\n if ans%2!=0:\n print('No')\n exit()\n \nprint('Yes')",
"import collections",
"collections",
"w=str(input())",
"w",
"str(input())",
"str",
"input()",
"input",
"cc=collections.C... | import collections
w=str(input())
cc=collections.Counter(w)
a=list(cc.values())
for ans in a:
if ans%2!=0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
4,
13,
8,
2,
4,
13,
2,
2,
4,
18,
13,
13,
13,
17,
17,
17,
17,
17,
10,
4,
13,
10,
4,
13
] | [
[
29,
2
],
[
32,
6
],
[
30,
9
],
[
30,
20
],
[
29,
30
],
[
32,
33
]
] | [
"w=input()\nS=set(w)\nprint(\"Yes\" if all(w.count(s)%2==0 for s in S)==True else \"No\")",
"w=input()",
"w",
"input()",
"input",
"S=set(w)",
"S",
"set(w)",
"set",
"w",
"print(\"Yes\" if all(w.count(s)%2==0 for s in S)==True else \"No\")",
"print",
"\"Yes\" if all(w.count(s)%2==0 for s in S)... | w=input()
S=set(w)
print("Yes" if all(w.count(s)%2==0 for s in S)==True else "No")
|
[
7,
0,
13,
4,
13,
41,
28,
13,
4,
13,
17,
4,
4,
13,
2,
4,
13,
17,
13,
0,
13,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
13,
13,
10,
4,
13
] | [
[
47,
2
],
[
8,
7
],
[
7,
18
],
[
44,
20
],
[
24,
23
],
[
45,
23
],
[
48,
30
],
[
23,
32
],
[
44,
45
],
[
47,
48
]
] | [
"w = input()\nl = [chr(ord(\"a\")+i) for i in range(26)]\nfor i in l:\n if w.count(i) % 2 != 0:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"chr(ord(\"a\")+i) for i in range(26)",
"for i in range(26)",
"i",
"range(26)",
"range",
"26",
"for i ... | w = input()
l = [chr(ord("a")+i) for i in range(26)]
for i in l:
if w.count(i) % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
2,
18,
13,
13,
17,
17,
0,
13,
17,
4,
13,
8,
13,
17,
17,
10,
17,
13,
10,
17,
13,
10,
17,
... | [
[
57,
2
],
[
51,
6
],
[
10,
9
],
[
58,
9
],
[
15,
12
],
[
52,
13
],
[
9,
14
],
[
18,
17
],
[
58,
17
],
[
23,
20
],
[
52,
21
],
[
17,
22
],
[
54,
25
],
[
29,... | [
"s = input()\ndi = {}\nfor c in s:\n di[c] = 0\nfor c in s:\n di[c] +=1\n \nis_beautiful = True\nfor c in s:\n if di[c] %2 ==1:\n is_beautiful = False\n\nprint('Yes' if is_beautiful else 'No')",
"s = input()",
"s",
"input()",
"input",
"di = {}",
"di",
"{}",
"for c in s:\n di[c] = 0",
"c",
... | s = input()
di = {}
for c in s:
di[c] = 0
for c in s:
di[c] +=1
is_beautiful = True
for c in s:
if di[c] %2 ==1:
is_beautiful = False
print('Yes' if is_beautiful else 'No')
|
[
7,
0,
13,
4,
13,
0,
13,
2,
39,
17,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
0,
18,
13,
2,
4,
13,
18,
13,
13,
17,
17,
28,
13,
4,
13,
17,
14,
2,
2,
18,
13,
13,
17,
17,
0,
13,
17,
3,
4,
13,
13,
10,
2,
13,
10,
... | [
[
62,
2
],
[
53,
6
],
[
56,
12
],
[
16,
15
],
[
63,
20
],
[
31,
22
],
[
54,
23
],
[
63,
28
],
[
15,
29
],
[
34,
33
],
[
54,
41
],
[
33,
42
],
[
59,
46
],
[
... | [
"w=input()\ncount=[0]*26\nans=\"Yes\"\nfor i in range(len(w)):\n count[ord(w[i])-97]+=1\nfor i in range(26):\n if count[i]%2==1:\n ans=\"No\"\n break\nprint(ans)",
"w=input()",
"w",
"input()",
"input",
"count=[0]*26",
"count",
"[0]*26",
"[0]",
"0",
"26",
"ans=\"Yes\"",
"a... | w=input()
count=[0]*26
ans="Yes"
for i in range(len(w)):
count[ord(w[i])-97]+=1
for i in range(26):
if count[i]%2==1:
ans="No"
break
print(ans) |
[
7,
15,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
4,
18,
4,
13,
13,
13,
28,
13,
4,
13,
4,
13,
13,
14,
2,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
42,
3
],
[
45,
9
],
[
43,
16
],
[
20,
19
],
[
46,
24
],
[
46,
29
],
[
19,
30
],
[
42,
43
],
[
45,
46
]
] | [
"from collections import Counter\n\ns = list(input())\n\nl = list(Counter(s).values())\nfor i in range(len(l)):\n if l[i] % 2 == 1:\n print('No')\n exit()\nprint('Yes')",
"from collections import Counter",
"s = list(input())",
"s",
"list(input())",
"list",
"input()",
"input",
"l = l... | from collections import Counter
s = list(input())
l = list(Counter(s).values())
for i in range(len(l)):
if l[i] % 2 == 1:
print('No')
exit()
print('Yes')
|
[
7,
15,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
33,
3
],
[
36,
9
],
[
34,
12
],
[
15,
14
],
[
37,
17
],
[
14,
22
],
[
33,
34
],
[
36,
37
]
] | [
"from collections import Counter\n\nw = list(input())\nc = Counter(w)\nfor v in c.values():\n if v % 2 != 0:\n print('No')\n break\nelse:\n print('Yes')",
"from collections import Counter",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"c = Counter(w)",
... | from collections import Counter
w = list(input())
c = Counter(w)
for v in c.values():
if v % 2 != 0:
print('No')
break
else:
print('Yes')
|
[
7,
15,
13,
15,
13,
0,
13,
4,
13,
0,
13,
18,
13,
13,
28,
13,
13,
14,
2,
4,
18,
13,
13,
13,
17,
4,
13,
17,
4,
18,
13,
13,
4,
13,
17,
10,
18,
13,
10,
4,
13
] | [
[
39,
6
],
[
36,
10
],
[
16,
15
],
[
37,
15
],
[
40,
21
],
[
15,
23
],
[
36,
37
],
[
39,
40
]
] | [
"import sys\nimport string\nw = input()\na_z = string.ascii_letters\nfor i in a_z:\n if w.count(i) & 1:\n print('No')\n sys.exit()\nprint('Yes')",
"import sys",
"sys",
"import string",
"string",
"w = input()",
"w",
"input()",
"input",
"a_z = string.ascii_letters",
"a_z",
"stri... | import sys
import string
w = input()
a_z = string.ascii_letters
for i in a_z:
if w.count(i) & 1:
print('No')
sys.exit()
print('Yes') |
[
7,
0,
13,
4,
13,
41,
28,
13,
4,
13,
17,
4,
4,
13,
2,
4,
13,
17,
13,
0,
13,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
13,
13,
10,
4,
13
] | [
[
46,
2
],
[
8,
7
],
[
7,
18
],
[
43,
20
],
[
24,
23
],
[
44,
23
],
[
47,
30
],
[
23,
32
],
[
43,
44
],
[
46,
47
]
] | [
"w = input()\nchar = [chr(ord('a') + i) for i in range(26)]\nfor c in char:\n if w.count(c) % 2 != 0:\n print('No')\n break\nelse:\n print('Yes')",
"w = input()",
"w",
"input()",
"input",
"chr(ord('a') + i) for i in range(26)",
"for i in range(26)",
"i",
"range(26)",
"range",
... | w = input()
char = [chr(ord('a') + i) for i in range(26)]
for c in char:
if w.count(c) % 2 != 0:
print('No')
break
else:
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
42,
17,
0,
13,
18,
13,
17,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
4,
18,
13,
13,
13,
17,
14,
2,
13,
17,
3,
9,
0,
13,
17,
3,
4,
13,
18,
17,
39,
13,
17,
10,
17,
13,
10,
4,
13,... | [
[
54,
2
],
[
60,
6
],
[
63,
11
],
[
55,
13
],
[
58,
13
],
[
55,
20
],
[
58,
20
],
[
64,
22
],
[
57,
26
],
[
55,
29
],
[
58,
29
],
[
64,
31
],
[
58,
35
],
[
... | [
"s=input()\nn=0\nwhile True:\n i=s[0]\n if s.count(i) % 2 == 0:\n s=s.replace(i,'')\n if s == '':\n break\n continue\n n+=1\n break\nprint('YNeos'[n::2])",
"s=input()",
"s",
"input()",
"input",
"n=0",
"n",
"0",
"while True:\n i=s[0]\n if s.count(i) %... | s=input()
n=0
while True:
i=s[0]
if s.count(i) % 2 == 0:
s=s.replace(i,'')
if s == '':
break
continue
n+=1
break
print('YNeos'[n::2])
|
[
7,
0,
13,
4,
13,
41,
28,
13,
13,
4,
2,
13,
13,
0,
13,
12,
4,
13,
13,
23,
23,
12,
13,
28,
13,
13,
14,
2,
2,
4,
13,
13,
13,
17,
17,
29,
17,
29,
17,
23,
13,
4,
13,
4,
13,
13,
10,
12,
13,
10,
4,
13,
10,
12,
13
] | [
[
50,
2
],
[
8,
7
],
[
7,
12
],
[
53,
14
],
[
25,
24
],
[
40,
24
],
[
54,
30
],
[
24,
31
],
[
40,
32
],
[
40,
40
],
[
48,
44
],
[
51,
45
],
[
50,
51
],
[
53... | [
"w=input()\nhm=lambda a,s:sum([a==x for x in s])\n\ndef isbeautiful(s):\n for a in s:\n if hm(a,s)%2==1:\n return 'No'\n return 'Yes'\n\nprint(isbeautiful(w))",
"w=input()",
"w",
"input()",
"input",
"a==x for x in s",
"for x in s",
"x",
"s",
"for x in s",
"a==x",
"a",
... | w=input()
hm=lambda a,s:sum([a==x for x in s])
def isbeautiful(s):
for a in s:
if hm(a,s)%2==1:
return 'No'
return 'Yes'
print(isbeautiful(w))
|
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
17,
13
] | [
[
45,
2
],
[
48,
6
],
[
10,
9
],
[
46,
9
],
[
9,
13
],
[
49,
14
],
[
19,
16
],
[
49,
17
],
[
9,
18
],
[
24,
21
],
[
49,
22
],
[
9,
23
],
[
27,
26
],
[
49,
... | [
"a = input()\ndic = {}\nfor i in a:\n if i in dic:\n dic[i] += 1\n else:\n dic[i] = 1\nfor i in dic:\n if dic[i] % 2 != 0:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"a = input()",
"a",
"input()",
"input",
"dic = {}",
"dic",
"{}",
"for i in a:\n if i in dic:\n... | a = input()
dic = {}
for i in a:
if i in dic:
dic[i] += 1
else:
dic[i] = 1
for i in dic:
if dic[i] % 2 != 0:
print("No")
exit()
print("Yes") |
[
7,
15,
13,
15,
12,
13,
0,
13,
4,
13,
41,
28,
13,
4,
13,
17,
4,
17,
0,
13,
13,
28,
13,
13,
0,
18,
13,
2,
4,
13,
13,
4,
13,
17,
17,
0,
13,
17,
28,
13,
4,
13,
17,
14,
2,
2,
18,
13,
13,
17,
17,
0,
13,
17,
14,
2... | [
[
8,
7
],
[
13,
12
],
[
20,
19
],
[
23,
22
],
[
7,
22
],
[
34,
25
],
[
19,
26
],
[
22,
30
],
[
37,
36
],
[
40,
39
],
[
19,
47
],
[
39,
48
],
[
53,
52
],
[
5... | [
"import math\nfrom datetime import date\n\ndef main():\n\t\n\ts = input()\n\ta = [0 for i in range(26)]\n\n\tfor c in s:\n\t\ta[ord(c) - ord('a')] += 1\n\n\tok = 'True'\n\tfor i in range(26):\n\t\tif a[i] % 2 == 1:\n\t\t\tok = 'False'\n\n\tif ok == 'True':\n\t\tprint(\"Yes\")\n\telse:\n\t\tprint(\"No\")\n\nmain()",... | import math
from datetime import date
def main():
s = input()
a = [0 for i in range(26)]
for c in s:
a[ord(c) - ord('a')] += 1
ok = 'True'
for i in range(26):
if a[i] % 2 == 1:
ok = 'False'
if ok == 'True':
print("Yes")
else:
print("No")
main()
|
[
7,
0,
13,
17,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
13,
42,
2,
2,
4,
13,
13,
17,
13,
0,
13,
4,
18,
13,
13,
18,
13,
17,
14,
2,
2,
13,
17,
17,
0,
13,
18,
13,
39,
13,
0,
13,
17,
14,
13,
4,
13,
17,
4,
13,
17,
10,
... | [
[
59,
2
],
[
56,
5
],
[
68,
11
],
[
57,
14
],
[
69,
20
],
[
57,
20
],
[
66,
20
],
[
60,
22
],
[
72,
22
],
[
62,
24
],
[
69,
27
],
[
57,
27
],
[
66,
27
],
[
... | [
"flag=True\na=list(input())\na=sorted(a)\nwhile len(a)>0 and flag:\n n=a.count(a[0])\n if n%2==0:\n a=a[n:]\n else:\n flag=False\nif flag:\n print(\"Yes\")\nelse:\n print(\"No\") ",
"flag=True",
"flag",
"True",
"a=list(input())",
"a",
"list(input())",
"list",
"input()... | flag=True
a=list(input())
a=sorted(a)
while len(a)>0 and flag:
n=a.count(a[0])
if n%2==0:
a=a[n:]
else:
flag=False
if flag:
print("Yes")
else:
print("No") |
[
7,
0,
13,
4,
13,
4,
13,
28,
13,
4,
13,
17,
17,
14,
40,
2,
4,
18,
13,
13,
4,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
9,
8
],
[
35,
18
],
[
8,
22
],
[
34,
35
]
] | [
"w = list(input())\n\n\nfor i in range(97, 123):\n #print(\"{}: {}\".format(chr(i), w.count(chr(i))))\n if w.count(chr(i)) % 2 != 0:\n print(\"No\")\n exit()\n\nprint(\"Yes\")\n\n\n ",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"for i in range(97, 123... | w = list(input())
for i in range(97, 123):
#print("{}: {}".format(chr(i), w.count(chr(i))))
if w.count(chr(i)) % 2 != 0:
print("No")
exit()
print("Yes")
|
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
40,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
17,
13
] | [
[
48,
2
],
[
51,
6
],
[
10,
9
],
[
49,
9
],
[
9,
13
],
[
52,
14
],
[
19,
16
],
[
52,
17
],
[
9,
18
],
[
24,
21
],
[
52,
22
],
[
9,
23
],
[
27,
26
],
[
52,
... | [
"S = input()\nm = {}\n\nfor s in S:\n if s not in m:\n m[s] = 0\n m[s] += 1\n\nfor k in m.keys():\n if m[k] % 2 != 0:\n print('No')\n exit()\n\nprint('Yes')",
"S = input()",
"S",
"input()",
"input",
"m = {}",
"m",
"{}",
"for s in S:\n if s not in m:\n m[s] = 0\n m[s] += 1",
"s",
... | S = input()
m = {}
for s in S:
if s not in m:
m[s] = 0
m[s] += 1
for k in m.keys():
if m[k] % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
41,
28,
13,
4,
13,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
2,
18,
13,
39,
17,
17,
4,
13,
8,
2,
13,
13,
17,
17,
10,
4,
13,
10,
13,
13,
10,
4,
13
] | [
[
4,
3
],
[
3,
7
],
[
38,
9
],
[
35,
12
],
[
39,
15
],
[
41,
17
],
[
36,
22
],
[
36,
30
],
[
42,
31
],
[
35,
36
],
[
38,
39
],
[
41,
42
]
] | [
"w = [w for w in input()]\nw1 = sorted(w)\nw2 = sorted(w1[::2]*2)\nprint('Yes' if w1 == w2 else 'No')",
"w for w in input()",
"for w in input()",
"w",
"input()",
"input",
"for w in input()",
"w",
"w = [w for w in input()]",
"w",
"[w for w in input()]",
"w1 = sorted(w)",
"w1",
"sorted(w)",
... | w = [w for w in input()]
w1 = sorted(w)
w2 = sorted(w1[::2]*2)
print('Yes' if w1 == w2 else 'No') |
[
7,
0,
13,
4,
13,
0,
13,
39,
28,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
18,
13,
13,
4,
18,
13,
13,
14,
2,
2,
4,
13,
13,
17,
17,
4,
13,
17,
4,
13,
28,
13,
4,
13,
2,
4,
13,
13,
17,
14,
40,
2,
18,
13,
2,
17,
13,
... | [
[
72,
2
],
[
75,
6
],
[
10,
9
],
[
73,
14
],
[
76,
17
],
[
73,
20
],
[
9,
21
],
[
76,
24
],
[
73,
31
],
[
41,
40
],
[
73,
46
],
[
76,
52
],
[
40,
55
],
[
76... | [
"w = input()\nW = []\nfor i in range(len(w)):\n W.append(w[i])\n\nW.sort()\n\nif len(w) % 2 == 1:\n print(\"No\")\n exit()\n\nfor i in range(len(w)//2):\n if not W[2*i] == W[2*i+1]:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"W = []",
"W"... | w = input()
W = []
for i in range(len(w)):
W.append(w[i])
W.sort()
if len(w) % 2 == 1:
print("No")
exit()
for i in range(len(w)//2):
if not W[2*i] == W[2*i+1]:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
7,
6
],
[
28,
6
],
[
28,
13
],
[
6,
15
],
[
27,
28
]
] | [
"w = input()\nfor x in w:\n if w.count(x) % 2 != 0:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"for x in w:\n if w.count(x) % 2 != 0:\n print('No')\n exit()",
"x",
"w",
"if w.count(x) % 2 != 0:\n print('No')\n exit()... | w = input()
for x in w:
if w.count(x) % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
13,
17,
14,
40,
2,
13,
17,
17,
0,
13,
17,
14,
40,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,... | [
[
55,
2
],
[
52,
6
],
[
10,
9
],
[
56,
9
],
[
46,
12
],
[
16,
15
],
[
56,
15
],
[
9,
19
],
[
15,
20
],
[
43,
22
],
[
44,
27
],
[
47,
27
],
[
49,
31
],
[
50,... | [
"w = input()\nf = True\nfor i in w:\n c = 0\n for k in w:\n if i == k:\n c += 1\n\n if c % 2 != 0:\n f = False\nif not f:\n print(\"No\")\nelse:\n print(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"f = True",
"f",
"True",
"for i in w:\n c = 0\n fo... | w = input()
f = True
for i in w:
c = 0
for k in w:
if i == k:
c += 1
if c % 2 != 0:
f = False
if not f:
print("No")
else:
print("Yes")
|
[
7,
41,
28,
13,
4,
13,
17,
4,
17,
0,
13,
13,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
2,
4,
13,
13,
4,
13,
17,
17,
28,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13... | [
[
4,
3
],
[
57,
10
],
[
51,
13
],
[
60,
19
],
[
23,
22
],
[
52,
22
],
[
34,
25
],
[
58,
26
],
[
22,
30
],
[
37,
36
],
[
58,
36
],
[
36,
41
],
[
54,
45
],
[
... | [
"n = [0 for _ in range(26)]\nS = list(input())\nans = \"Yes\"\nfor i in S:\n n[ord(i) - ord('a')] += 1\nfor i in n:\n if i % 2 != 0:\n ans = \"No\"\nprint(ans)",
"0 for _ in range(26)",
"for _ in range(26)",
"_",
"range(26)",
"range",
"26",
"for _ in range(26)",
"0",
"n = [0 for _ in ... | n = [0 for _ in range(26)]
S = list(input())
ans = "Yes"
for i in S:
n[ord(i) - ord('a')] += 1
for i in n:
if i % 2 != 0:
ans = "No"
print(ans) |
[
7,
0,
13,
4,
13,
41,
28,
13,
13,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
17,
0,
13,
39,
28,
13,
13,
0,
13,
4,
18,
13,
13,
13,
14,
2,
2,
13,
17,
17,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,... | [
[
70,
2
],
[
8,
7
],
[
71,
7
],
[
7,
10
],
[
79,
12
],
[
73,
15
],
[
80,
18
],
[
82,
20
],
[
74,
23
],
[
85,
25
],
[
76,
28
],
[
32,
31
],
[
83,
31
],
[
67,... | [
"w = input()\ndatalist = [x for x in w]\ndataset = set(datalist)\nlist_set = list(dataset)\ncount = 0\nanswers = []\nfor i in list_set:\n count = datalist.count(i)\n if count % 2 == 0:\n answers.append(\"Yes\")\n else:\n answers.append(\"NO\")\n# print(answers)\n\nif \"NO\" in answers:\n p... | w = input()
datalist = [x for x in w]
dataset = set(datalist)
list_set = list(dataset)
count = 0
answers = []
for i in list_set:
count = datalist.count(i)
if count % 2 == 0:
answers.append("Yes")
else:
answers.append("NO")
# print(answers)
if "NO" in answers:
print("No")
else:
print... |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
9,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
7,
6
],
[
35,
11
],
[
35,
17
],
[
35,
20
],
[
6,
21
],
[
34,
35
]
] | [
"w = input()\nfor i in range(len(w)):\n if w.count(w[i])%2==0:\n continue\n else:\n print('No')\n exit()\nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"for i in range(len(w)):\n if w.count(w[i])%2==0:\n continue\n else:\n print('No')\n exit()... | w = input()
for i in range(len(w)):
if w.count(w[i])%2==0:
continue
else:
print('No')
exit()
print('Yes') |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
0,
13,
4,
18,
13,
13,
13,
28,
13,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
41,
4
],
[
38,
10
],
[
42,
15
],
[
39,
21
],
[
38,
39
],
[
41,
42
]
] | [
"import collections\nw = list(input())\n\nlis = collections.Counter(w)\n\nfor key, value in lis.items():\n if value % 2 != 0:\n print('No')\n exit()\n\nprint('Yes')",
"import collections",
"collections",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"lis =... | import collections
w = list(input())
lis = collections.Counter(w)
for key, value in lis.items():
if value % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
13,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
0,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
... | [
[
53,
2
],
[
56,
6
],
[
10,
9
],
[
54,
9
],
[
9,
13
],
[
57,
14
],
[
19,
16
],
[
57,
17
],
[
9,
18
],
[
24,
21
],
[
57,
22
],
[
9,
23
],
[
59,
26
],
[
30,
... | [
"s = input()\nd = {}\n\nfor letter in s:\n if letter in d:\n d[letter] += 1\n else:\n d[letter] = 1\nflag = 1 \nfor key in d:\n if d[key]%2 != 0:\n flag = 0\n\t\nif flag == 1:\n print(\"Yes\")\nelse:\n print(\"No\")",
"s = input()",
"s",
"input()",
"input",
"d = {}",
"d",
"{}",
"for l... | s = input()
d = {}
for letter in s:
if letter in d:
d[letter] += 1
else:
d[letter] = 1
flag = 1
for key in d:
if d[key]%2 != 0:
flag = 0
if flag == 1:
print("Yes")
else:
print("No") |
[
7,
15,
0,
13,
4,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
0,
13,
17,
3,
14,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
37,
3
],
[
40,
11
],
[
15,
14
],
[
38,
14
],
[
38,
20
],
[
14,
21
],
[
43,
25
],
[
37,
38
],
[
40,
41
],
[
43,
44
]
] | [
"from collections import Counter\nW = Counter(list(input()))\nflag = 0\nfor key in W:\n if W[key]%2!=0:\n flag = 1\n break\nif flag:\n print(\"No\")\nelse:\n print(\"Yes\")",
"from collections import Counter",
"W = Counter(list(input()))",
"W",
"Counter(list(input()))",
"Counter",
... | from collections import Counter
W = Counter(list(input()))
flag = 0
for key in W:
if W[key]%2!=0:
flag = 1
break
if flag:
print("No")
else:
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
14,
13,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
38,
2
],
[
35,
6
],
[
10,
9
],
[
39,
12
],
[
39,
18
],
[
9,
20
],
[
41,
24
],
[
35,
36
],
[
38,
39
],
[
41,
42
]
] | [
"W = input()\nf = True\nfor w in set(W):\n if W.count(w) % 2 != 0:\n f = False\nif f:\n print(\"Yes\")\nelse:\n print(\"No\")",
"W = input()",
"W",
"input()",
"input",
"f = True",
"f",
"True",
"for w in set(W):\n if W.count(w) % 2 != 0:\n f = False",
"w",
"set(W)",
"s... | W = input()
f = True
for w in set(W):
if W.count(w) % 2 != 0:
f = False
if f:
print("Yes")
else:
print("No") |
[
7,
15,
12,
13,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
3,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
6,
5
],
[
12,
11
],
[
5,
14
],
[
17,
16
],
[
11,
23
],
[
33,
32
],
[
32,
37
],
[
16,
37
],
[
46,
43
]
] | [
"from collections import Counter\n\n\ndef main():\n w = list(input())\n w_counter = Counter(w)\n ans = 'Yes'\n for key, value in w_counter.items():\n if value % 2 != 0:\n ans = 'No'\n break\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()",
"from collections i... | from collections import Counter
def main():
w = list(input())
w_counter = Counter(w)
ans = 'Yes'
for key, value in w_counter.items():
if value % 2 != 0:
ans = 'No'
break
print(ans)
if __name__ == "__main__":
main()
|
[
7,
15,
13,
0,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
17,
2,
17,
17,
0,
18,
13,
4,
13,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
28,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
4,
13,
17,
4,
18,
13,
13,
4,
13,
17,
1... | [
[
56,
4
],
[
59,
8
],
[
12,
11
],
[
24,
19
],
[
60,
20
],
[
11,
23
],
[
27,
26
],
[
57,
26
],
[
32,
29
],
[
60,
30
],
[
26,
31
],
[
35,
34
],
[
60,
37
],
[
... | [
"import sys\nw = input()\nd = {}\nfor c in range(97,97+26):\n d[chr(c)]=0\nfor c in w:\n d[c]+=1\n\nfor c in d.values():\n if c%2 == 1:\n print(\"No\")\n sys.exit()\n\nprint(\"Yes\")",
"import sys",
"sys",
"w = input()",
"w",
"input()",
"input",
"d = {}",
"d",
"{}",
"for c... | import sys
w = input()
d = {}
for c in range(97,97+26):
d[chr(c)]=0
for c in w:
d[c]+=1
for c in d.values():
if c%2 == 1:
print("No")
sys.exit()
print("Yes") |
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13
] | [
[
26,
2
],
[
7,
6
],
[
27,
6
],
[
27,
13
],
[
6,
15
],
[
26,
27
]
] | [
"S=input()\nfor s in S:\n if S.count(s) %2 == 1:\n print(\"No\")\n break\nelse:\n print(\"Yes\")",
"S=input()",
"S",
"input()",
"input",
"for s in S:\n if S.count(s) %2 == 1:\n print(\"No\")\n break\nelse:\n print(\"Yes\")",
"s",
"S",
"if S.count(s) %2 == 1:\n print(\"No\")\n b... | S=input()
for s in S:
if S.count(s) %2 == 1:
print("No")
break
else:
print("Yes") |
[
7,
0,
13,
4,
13,
28,
13,
4,
13,
13,
14,
40,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
31,
2
],
[
7,
6
],
[
32,
9
],
[
32,
16
],
[
6,
18
],
[
31,
32
]
] | [
"w = input()\n\nfor i in set(w):\n if not w.count(i)%2 == 0:\n print(\"No\")\n exit(0)\n\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"for i in set(w):\n if not w.count(i)%2 == 0:\n print(\"No\")\n exit(0)",
"i",
"set(w)",
"set",
"w",
"if not w.coun... | w = input()
for i in set(w):
if not w.count(i)%2 == 0:
print("No")
exit(0)
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
13,
2,
4,
18,
13,
13,
13,
17,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
3,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
... | [
[
49,
2
],
[
52,
6
],
[
10,
9
],
[
50,
9
],
[
15,
12
],
[
53,
13
],
[
9,
14
],
[
53,
18
],
[
9,
20
],
[
25,
24
],
[
53,
27
],
[
24,
32
],
[
46,
36
],
[
55,
... | [
"a = input()\ndct ={}\nfor i in a:\n dct[i] = dct.get(i,0)+1\nfor i in dct.values():\n if i % 2 != 0:\n res = \"No\"\n break\n else:\n res = \"Yes\"\nprint(res)",
"a = input()",
"a",
"input()",
"input",
"dct ={}",
"dct",
"{}",
"for i in a:\n dct[i] = dct.get(i,0)+1",... | a = input()
dct ={}
for i in a:
dct[i] = dct.get(i,0)+1
for i in dct.values():
if i % 2 != 0:
res = "No"
break
else:
res = "Yes"
print(res)
|
[
7,
0,
13,
4,
13,
4,
13,
28,
13,
4,
13,
4,
13,
17,
2,
4,
13,
17,
17,
14,
2,
2,
4,
18,
13,
13,
4,
13,
13,
17,
17,
4,
13,
17,
3,
4,
13,
17,
10,
4,
13
] | [
[
39,
2
],
[
9,
8
],
[
40,
24
],
[
8,
28
],
[
39,
40
]
] | [
"w = list(input())\n\nfor c in range(ord('a'), ord('z')+1):\n if w.count(chr(c)) % 2 == 1:\n print('No')\n break\nelse:\n print('Yes')",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
"input",
"for c in range(ord('a'), ord('z')+1):\n if w.count(chr(c)) % 2 == 1:\n... | w = list(input())
for c in range(ord('a'), ord('z')+1):
if w.count(chr(c)) % 2 == 1:
print('No')
break
else:
print('Yes') |
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
7,
6
],
[
28,
6
],
[
28,
13
],
[
6,
15
],
[
27,
28
]
] | [
"w = input()\nfor i in w:\n if w.count(i) %2 != 0:\n print(\"No\")\n exit()\nprint(\"Yes\")",
"w = input()",
"w",
"input()",
"input",
"for i in w:\n if w.count(i) %2 != 0:\n print(\"No\")\n exit()",
"i",
"w",
"if w.count(i) %2 != 0:\n print(\"No\")\n e... | w = input()
for i in w:
if w.count(i) %2 != 0:
print("No")
exit()
print("Yes") |
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
4,
13,
13,
28,
13,
4,
13,
4,
13,
13,
14,
40,
2,
4,
18,
13,
13,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
43,
2
],
[
40,
6
],
[
44,
11
],
[
14,
13
],
[
41,
18
],
[
44,
24
],
[
41,
27
],
[
13,
28
],
[
40,
41
],
[
43,
44
]
] | [
"w = input()\ns = list(set(w))\n\nfor i in range(len(s)):\n if w.count(s[i]) % 2 != 0:\n print('No')\n exit()\n \nprint('Yes')",
"w = input()",
"w",
"input()",
"input",
"s = list(set(w))",
"s",
"list(set(w))",
"list",
"set(w)",
"set",
"w",
"for i in range(len(s)):\n ... | w = input()
s = list(set(w))
for i in range(len(s)):
if w.count(s[i]) % 2 != 0:
print('No')
exit()
print('Yes') |
[
7,
0,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
4,
18,
13,
13,
13,
17,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
13,
14,
40,
2,
18,
13,
13,
17,
17,
0,
13,
17,
3,
4,
13,
8,
13,
17,
17,
10,
... | [
[
55,
2
],
[
64,
6
],
[
10,
9
],
[
56,
9
],
[
65,
15
],
[
9,
17
],
[
24,
21
],
[
65,
22
],
[
9,
23
],
[
29,
26
],
[
65,
27
],
[
9,
28
],
[
58,
31
],
[
35,
... | [
"w = input()\nd = {}\nfor s in w:\n if d.get(s, -1) == -1:\n d[s] = 1\n else:\n d[s] += 1\ngood = True\nfor key in d:\n if d[key] % 2 != 0:\n good = False\n break\nprint('Yes' if good else 'No')\n",
"w = input()",
"w",
"input()",
"input",
"d = {}",
"d",
"{}",
"fo... | w = input()
d = {}
for s in w:
if d.get(s, -1) == -1:
d[s] = 1
else:
d[s] += 1
good = True
for key in d:
if d[key] % 2 != 0:
good = False
break
print('Yes' if good else 'No')
|
[
7,
0,
13,
4,
13,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
7,
6
],
[
28,
6
],
[
28,
13
],
[
6,
15
],
[
27,
28
]
] | [
"s=input()\nfor i in s:\n if s.count(i)%2!=0:\n print('No')\n exit()\nprint('Yes')",
"s=input()",
"s",
"input()",
"input",
"for i in s:\n if s.count(i)%2!=0:\n print('No')\n exit()",
"i",
"s",
"if s.count(i)%2!=0:\n print('No')\n exit()",
"s.count(i)... | s=input()
for i in s:
if s.count(i)%2!=0:
print('No')
exit()
print('Yes')
|
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
4,
18,
13,
13,
9,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
39,
4
],
[
42,
10
],
[
40,
13
],
[
16,
15
],
[
43,
15
],
[
40,
22
],
[
15,
24
],
[
39,
40
],
[
42,
43
]
] | [
"# -*- coding:utf-8 -*-\nimport sys\n# input = sys.stdin.readline\nw = list(input())\nw_set = set(w)\nfor i in w_set:\n if w.count(i)%2==1:\n print(\"No\")\n sys.exit()\n else:\n continue\nprint(\"Yes\")",
"import sys",
"sys",
"w = list(input())",
"w",
"list(input())",
"list",
"input()",
... | # -*- coding:utf-8 -*-
import sys
# input = sys.stdin.readline
w = list(input())
w_set = set(w)
for i in w_set:
if w.count(i)%2==1:
print("No")
sys.exit()
else:
continue
print("Yes") |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
4,
13,
17,
0,
13,
17,
28,
13,
13,
0,
13,
4,
18,
13,
13,
13,
14,
2,
13,
17,
9,
14,
2,
2,
13,
17,
17,
9,
4,
13,
17,
0,
13,
17,
3,
42,
13,
4,
13,
17,
3,
10,
4,
13,
10,
17,
13,
... | [
[
51,
2
],
[
63,
8
],
[
54,
13
],
[
17,
16
],
[
64,
16
],
[
60,
19
],
[
52,
22
],
[
16,
24
],
[
61,
27
],
[
61,
33
],
[
57,
41
],
[
51,
52
],
[
54,
55
],
[
... | [
"w = list(input())\nalpha = list(\"qwertyuiopasdfghjklzxcvbnm\")\nFLAG = True\nfor i in alpha:\n cnt = w.count(i)\n if cnt == 0:\n continue\n elif cnt % 2 == 0:\n continue\n else:\n print(\"No\")\n FLAG = False\n break\nwhile FLAG:\n print(\"Yes\")\n break",
"w = list(input())",
"w",
"lis... | w = list(input())
alpha = list("qwertyuiopasdfghjklzxcvbnm")
FLAG = True
for i in alpha:
cnt = w.count(i)
if cnt == 0:
continue
elif cnt % 2 == 0:
continue
else:
print("No")
FLAG = False
break
while FLAG:
print("Yes")
break |
[
7,
15,
0,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
13,
0,
18,
13,
13,
17,
0,
13,
17,
28,
13,
4,
18,
13,
13,
14,
40,
2,
13,
17,
17,
0,
13,
17,
3,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
45,
3
],
[
48,
7
],
[
13,
12
],
[
46,
12
],
[
18,
15
],
[
49,
16
],
[
12,
17
],
[
51,
20
],
[
24,
23
],
[
49,
26
],
[
23,
31
],
[
42,
35
],
[
43,
40
],
[
... | [
"from collections import defaultdict\nw = input()\nd = defaultdict(int)\nfor c in w:\n d[c] += 1\nans = \"Yes\"\nfor v in d.values():\n if v % 2 != 0:\n ans = \"No\"\n break\nprint(ans)",
"from collections import defaultdict",
"w = input()",
"w",
"input()",
"input",
"d = defaultdict(... | from collections import defaultdict
w = input()
d = defaultdict(int)
for c in w:
d[c] += 1
ans = "Yes"
for v in d.values():
if v % 2 != 0:
ans = "No"
break
print(ans) |
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
0,
13,
17,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
4,
13,
8,
2,
13,
17,
17,
17,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
41,
2
],
[
44,
6
],
[
42,
9
],
[
38,
11
],
[
15,
14
],
[
45,
14
],
[
42,
21
],
[
14,
23
],
[
47,
27
],
[
48,
33
],
[
39,
33
],
[
38,
39
],
[
41,
42
],
[
4... | [
"s = input()\nss =set(s)\ncnt = 0\nfor i in ss:\n if s.count(i)%2 !=0:\n cnt =1\nprint(\"Yes\" if cnt ==0 else \"No\")",
"s = input()",
"s",
"input()",
"input",
"ss =set(s)",
"ss",
"set(s)",
"set",
"s",
"cnt = 0",
"cnt",
"0",
"for i in ss:\n if s.count(i)%2 !=0:\n cnt =1",
"i",
... | s = input()
ss =set(s)
cnt = 0
for i in ss:
if s.count(i)%2 !=0:
cnt =1
print("Yes" if cnt ==0 else "No") |
[
7,
0,
13,
4,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
40,
2,
4,
18,
13,
13,
13,
17,
17,
0,
13,
17,
3,
4,
13,
8,
13,
17,
17,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
41,
2
],
[
35,
6
],
[
44,
9
],
[
13,
12
],
[
36,
12
],
[
42,
19
],
[
12,
21
],
[
38,
25
],
[
39,
31
],
[
45,
31
],
[
35,
36
],
[
38,
39
],
[
41,
42
],
[
4... | [
"s = input()\nal = \"abcdefghijklmnopqrstuvwxyz\"\nf = True\nfor e in al:\n if s.count(e)%2 != 0:\n f = False\n break\nprint(\"Yes\" if f else \"No\")",
"s = input()",
"s",
"input()",
"input",
"al = \"abcdefghijklmnopqrstuvwxyz\"",
"al",
"\"abcdefghijklmnopqrstuvwxyz\"",
"f = True",
"f",
... | s = input()
al = "abcdefghijklmnopqrstuvwxyz"
f = True
for e in al:
if s.count(e)%2 != 0:
f = False
break
print("Yes" if f else "No") |
[
7,
12,
13,
0,
13,
4,
13,
0,
13,
4,
13,
13,
28,
13,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
13,
17,
17,
4,
13,
17,
29,
4,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
9,
8
],
[
4,
11
],
[
14,
13
],
[
8,
16
],
[
4,
22
],
[
13,
24
],
[
38,
35
]
] | [
"def resolve():\n w = input()\n w_list = list(w)\n for char in set(w_list):\n if w.count(char) % 2 == 1:\n print(\"No\")\n return\n print(\"Yes\")\n\nresolve()",
"def resolve():\n w = input()\n w_list = list(w)\n for char in set(w_list):\n if w.count(char) ... | def resolve():
w = input()
w_list = list(w)
for char in set(w_list):
if w.count(char) % 2 == 1:
print("No")
return
print("Yes")
resolve() |
[
7,
0,
13,
4,
13,
0,
13,
2,
39,
17,
17,
28,
13,
4,
13,
4,
13,
13,
0,
18,
13,
4,
13,
18,
13,
13,
17,
28,
13,
4,
13,
17,
14,
40,
2,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
2,
13
] | [
[
49,
2
],
[
52,
6
],
[
13,
12
],
[
50,
17
],
[
26,
19
],
[
53,
20
],
[
50,
24
],
[
12,
25
],
[
29,
28
],
[
53,
36
],
[
28,
37
],
[
49,
50
],
[
52,
53
]
] | [
"w=input()\ndp=[0]*200\nfor i in range(len(w)):\n dp[ord(w[i])]+=1\nfor i in range(200):\n if dp[i]%2!=0:\n print('No')\n exit()\nprint('Yes')",
"w=input()",
"w",
"input()",
"input",
"dp=[0]*200",
"dp",
"[0]*200",
"[0]",
"0",
"200",
"for i in range(len(w)):\n dp[ord(w[i])]+=1",
"i",... | w=input()
dp=[0]*200
for i in range(len(w)):
dp[ord(w[i])]+=1
for i in range(200):
if dp[i]%2!=0:
print('No')
exit()
print('Yes') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.