ZhenlongDai/ACPR huggingface dataset:
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s_str = input()

check_list = ['a', 'b', 'c']
result_list = [[s == check for check in check_list] for s in s_str]
result = all([s1 or s2 or s3 for s1, s2, s3 in result_list])

if result:
    print('Yes')
else:
    print('No')


Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s_str = input()

check_list = ['a', 'b', 'c']
result_list = [[s == check for check in check_list] for s in s_str]
r1, r2, r3 = result_list
result = all([s1 or s2 or s3 for s1, s2, s3 in zip(r1, r2, r3)])

if result:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
 
if not s.count("a") == 1:
  print("NO")
elif not s.count("b") == 1:
  print("NO")
elif not s.count("c") == 1:
  print("NO")
else:
  print("YES")

Failing test case input:
cc`

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()
 
if not s.count("a") == 1:
  print("No")
elif not s.count("b") == 1:
  print("No")
elif not s.count("c") == 1:
  print("No")
else:
  print("Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

target = "abc"

for c in target:
  if S.count(c) != 1: print("No")

print("Yes")

Failing test case input:
c^c

Expected output:
No


Actual output:
No
No
No
Yes


Fixed submission (verdict: Accepted):
S = input()

target = "abc"

for c in target:
  if S.count(c) != 1:
    print("No")
    exit()

print("Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0] != s[1] != s[2]:
    print('Yes')
else:
    print('No')


Failing test case input:
b^b

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0] != s[1] and s[0] != s[2] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def abc(s):
    word = list(s)
    if word[0] != word[1] and word[0] != word[2] and word[1] != word[2]:
        print("Yes")
    else:
        print("No")

S = input("S:")
abc(S)


Failing test case input:
bcb

Expected output:
No


Actual output:
S:No


Fixed submission (verdict: Accepted):
def abc(s):
    word = list(s)
    if word[0] != word[1] and word[0] != word[2] and word[1] != word[2]:
        print("Yes")
    else:
        print("No")

S = input()
abc(S)

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input().split())
if "a" in S and "b" in S and "c" in S:
	print("YES")
else:
  	print("NO")

Failing test case input:
b``

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S =input()
if "a" in S and "b" in S and "c" in S:
	print("Yes")
else:
  	print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s.count('a') + s.count('b') + s.count('c') == 3:
    print('Yes')
else:
    print('No')

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s.count('a') * s.count('b') * s.count('c') == 1:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = str(input())
print(('a' in N) and ('b' in N) and ('c' in N))

Failing test case input:
bb^

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
N = str(input())
print('Yes') if ('a' in N) and ('b' in N) and ('c' in N) else print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = sorted(a)


c = b[0] + b[1] + b[2]
if "abc" == c:
    print("はい")
else:
    print("いいえ")

Failing test case input:
_cc

Expected output:
No


Actual output:
いいえ


Fixed submission (verdict: Accepted):
a = input()
b = sorted(a)


c = b[0] + b[1] + b[2]
if "abc" == c:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = str(input())
if S[0] != S[1] !=S[2]:
    print("YES")
else:
    print("NO")


Failing test case input:
dd`

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = str(input())
L = {"a","b","c"}
if {S[0],S[1],S[2]} == L:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = str(sorted(input()))
print(a)
print("Yes" if a=='abc' else "No")

Failing test case input:
aaf

Expected output:
No


Actual output:
['a', 'a', 'f']
No


Fixed submission (verdict: Accepted):
a = sorted(input())
a = ''.join(a)
print("Yes" if a=='abc' else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=str(input()) 
a = n.count("a")
b = n.count("b")
c = n.count("c")
if a==b==c==1:
    print("Yes")
else:
    print("Not")

    

Failing test case input:
ada

Expected output:
No


Actual output:
Not


Fixed submission (verdict: Accepted):
n=str(input()) 
a = n.count("a")
b = n.count("b")
c = n.count("c")
if a==b==c==1:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

if "a" in S and "b" in S and "c" in S:
    print("YES")
else:
    print("NO")

Failing test case input:
c^c

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = input()

if "a" in S and "b" in S and "c" in S:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

s = input()

if 'a' in s:
    if 'b' in s:
        if 'c' in s:
            print("Yes")
else:
    print("No")

Failing test case input:
aag

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):

s = input()

if 'a' in s:
    if 'b' in s:
        if 'c' in s:
            print("Yes")
        else:
            print("No")
    else:
        print("No")
else:
    print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
if a[0] == a[1] and a[1] == a[2] and a[2] == a[0]:
    print("Yes")
else:
    print("No")


Failing test case input:
```

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = list(input())
if a[0] == a[1] or a[1] == a[2] or a[2] == a[0]:
    print("No")
else:
    print("Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().rstrip()

if s[0] != s[1] != s[2]:
    print('Yes')
else:
    print('No')


Failing test case input:
`c`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input().rstrip()

if s[0] != s[1] and s[1] != s[2] and s[2] != s[0]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print("Yes" if len(S)==3 else "No")

Failing test case input:
dcd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=set(input())
print("Yes" if len(S)==3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if 'a' in S and 'b' in S and 'c' in S:
    print ('true')
else:
    print ('false')

Failing test case input:
aag

Expected output:
No


Actual output:
false


Fixed submission (verdict: Accepted):
S = input()
if 'a' in S and 'b' in S and 'c' in S:
    print ('Yes')
else:
    print ('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=[]
a=list(map(str,input()))
if a[0]!=a[1]!=a[2]:
    print('Yes')
else:
    print('No')


Failing test case input:
dbd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a=[]
a=list(map(str,input()))
if a[0]!=a[1] and a[0]!=a[2] and a[1]!=a[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

input = sys.stdin.readline


def main():
    s = input()
    if "a" in s and "b" in s and "c" in s:
        print("YES")
    else:
        print("NO")


if __name__ == "__main__":
    main()


Failing test case input:
cdd

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline


def main():
    s = input()
    if "a" in s and "b" in s and "c" in s:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
set1 = set(s)

print(set1)

if set1 == {'c', 'b', 'a'}:
    print("Yes")
else:
    print("No")

Failing test case input:
cbb

Expected output:
No


Actual output:
{'b', 'c'}
No


Fixed submission (verdict: Accepted):
s = input()
set1 = set(s)

if set1 == {'c', 'b', 'a'}:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if 'a' and 'b' and 'c' in s:
    print('Yes')
else:
    print('No')

Failing test case input:
cdd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if ('a' in s) and ('b' in s) and ('c' in s):
    print('Yes')
else:
    print('No')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("Yes" if len(s) == 3 else "No")


Failing test case input:
^bb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
print("Yes" if len(set(s)) == 3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
arr=str(input())
a = len([1 for x in arr if x=='a'])
b = len([1 for x in arr if x=='b'])
c = len([1 for x in arr if x=='c'])
if a+b+c == 3:
  print('Yes')
else:
  print('No')


Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
arr=str(input())
a = len([1 for x in arr if x=='a'])
b = len([1 for x in arr if x=='b'])
c = len([1 for x in arr if x=='c'])
if a==1 and b==1 and c==1:
  print('Yes')
else:
  print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
if 'a' in S and 'b' in S and 'c' in S: print('YES')
else: print('NO')

Failing test case input:
cac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S=input()
if 'a' in S and 'b' in S and 'c' in S: print('Yes')
else: print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if ("a" and "b" and "c") in input():
    print("Yes")
else:print("No")

Failing test case input:
cc^

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
if set(input()) ==set("abc"):
    print("Yes")
else:print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0]!=s[1]!=s[2]:
    print("Yes")
else:
    print("No")


Failing test case input:
c^c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0]!=s[1]!=s[2]!=s[0]:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if S[0] != S[1] != S[2]:
    print('yes')
else:
    print('no')

Failing test case input:
ccc

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
S = input()
if S[0] != S[1] != S[2] != S[0]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = set(input())
if len(s) == 3:
    print("YES")
else:
    print("NO")

Failing test case input:
cdc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = set(input())
if len(s) == 3:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

if "a" and "b" and "c" in s:
    print("Yes")
else :
    print("No")

Failing test case input:
ecc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()

if "a" in s and "b" in s and "c" in s:
    print("Yes")
else :
    print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
if S.count("a") == S.count("b") == S.count("c") == 1:
  print("YES")
else:
  print("NO")

Failing test case input:
a`a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = list(input())
if S.count("a") == S.count("b") == S.count("c") == 1:
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if len(set(s)) == 3:
  print('Yes')
else:
  print('NO')

Failing test case input:
c`c

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()
if len(set(s)) == 3:
  print('Yes')
else:
  print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
if 'a' and 'b' and 'c' in S:
    print('Yes')
else:
    print('No')

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = list(input())
if 'a'  in S and 'b'  in S and 'c' in S:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = set(input())
if len(s) == 3:
    print("Yes")
else:
    print("NO")


Failing test case input:
dad

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = set(input())
if len(s) == 3:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
a_list = list(S)
a_ct = 0
b_ct = 0
c_ct = 0

for i in range(0,3):
    if a_list[i] == 'a':
        a_ct = a_ct + 1

for i in range(0,3):
    if a_list[i] == 'b':
        b_ct = b_ct + 1

for i in range(0,3):
    if a_list[i] == 'c':
        c_ct = c_ct + 1

Failing test case input:
dd`

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
S = input()
a_list = list(S)
a_ct = 0
b_ct = 0
c_ct = 0

for i in range(0,3):
    if a_list[i] == 'a':
        a_ct = a_ct + 1

for i in range(0,3):
    if a_list[i] == 'b':
        b_ct = b_ct + 1

for i in range(0,3):
    if a_list[i] == 'c':
        c_ct = c_ct + 1

if a_ct == 1 and b_ct == 1 and c_ct == 1:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc = list(input())

if ('a' in abc) and ('b' in abc) and ('c' in abc):
    print('YES')
else:
    print('NO')

Failing test case input:
`__

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
abc = list(input())

if ('a' in abc) and ('b' in abc) and ('c' in abc):
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

S = str(input())

if S[0] != S[1] and S[1] != S[2] and S[2] != S[0]:
    print('Yes')
    
else:
    print('Bad')



Failing test case input:
ebb

Expected output:
No


Actual output:
Bad


Fixed submission (verdict: Accepted):

S = str(input())

if S[0] != S[1] and S[1] != S[2] and S[2] != S[0]:
    print('Yes')

else:
    print('No')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

s=input()
print('Yes' if len(set(s)) else 'No')

Failing test case input:
ddb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

s=input()
print('Yes' if len(set(s))==3 else 'No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print ("YES" if len(set(input())) == 3 else "NO")


Failing test case input:
_``

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
print ("Yes" if len(set(input())) == 3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc=sorted(input())
print(["NO","YES"][abc==["a","b","c"]])

Failing test case input:
cec

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
abc=sorted(input())
print(["No","Yes"][abc==["a","b","c"]])

Problem: p03385
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
print("Yes" if len(input())==3 else "No")

Failing test case input:
bbe

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print("Yes" if len(set(input()))==3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
if s[0]!=s[1] and s[1]!=s[2]:
    print("Yes")
else:
    print("No")

Failing test case input:
dad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=input()
if s[0]!=s[1] and s[1]!=s[2] and s[2]!=s[0]:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s_str = input()

check_list = ['a', 'b', 'c']

result_list = [[s == check for check in check_list] for s in s_str]
result = all([s1 or s2 or s3 for s1, s2, s3 in result_list])
print(result)

Failing test case input:
bbd

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
s_str = input()

check_list = ['a', 'b', 'c']
result_list = [[s == check for check in check_list] for s in s_str]
r1, r2, r3 = result_list
result = all([s1 or s2 or s3 for s1, s2, s3 in zip(r1, r2, r3)])

if result:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('Yes' if len(input())==3 else 'No')

Failing test case input:
ddb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print('Yes' if len(set(input()))==3 else 'No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=list(input())
if('a' and 'b' and 'c' in S):
    print("Yes")
else:
    print("No")


Failing test case input:
c`c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=str(list(input()))
if("a" in S and "b" in S and "c" in S):
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
if 'a' in a and 'a' in a and 'a' in a:
    print('Yes')
else:
    print('No')

Failing test case input:
aag

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = list(input())
if 'a' in a and 'b' in a and 'c' in a:
    print('Yes')
else:
    print('No')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    a = input()
    if 'a' in a and 'b' in a and 'c' in a:
        print("yes", end="")
    else:
        print("no", end="")

if __name__ == "__main__":
    main()   

Failing test case input:
cdc

Expected output:
No


Actual output:
no

Fixed submission (verdict: Accepted):
def main():
    a = input()
    if 'a' in a and 'b' in a and 'c' in a:
        print("Yes", end="")
    else:
        print("No", end="")

if __name__ == "__main__":
    main()

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('Yes' if 'a' and 'b' and 'c' in input() else 'No')

Failing test case input:
ecc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
print('Yes' if 'a' in S and 'b' in S and 'c' in S else 'No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("Yes" if  ''.join(sorted(list(input())) )else "No")

Failing test case input:
bdd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print("Yes"  if ''.join(sorted(list(input()))) == "abc" else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
if a[0]==a[1] or a[1]==a[2]:
  print("No")
else:
  print("Yes")

Failing test case input:
dad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = input()
if a[0]==a[1] or a[1]==a[2] or a[2]==a[0]:
  print("No")
else:
  print("Yes")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if 'a' in s and 'b' in s and 'c' in s:
  print("Yes")
else:
  print("NO")

Failing test case input:
ccc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()
if 'a' in s and 'b' in s and 'c' in s:
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("Yes" if len(input())==3 else "No")

Failing test case input:
_cc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print("Yes" if len(set(input()))==3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
result = 'No'

if 'a' and 'b' and 'c' in S:
    result = 'Yes'

print(result)

Failing test case input:
cdc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
result = 'No'

if 'a' in S:
    if 'b' in S:
        if 'c' in S:
            result = 'Yes'

print(result)

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=list(input())
if('a'and'b'and'c'in S):
    print("Yes")
else:
    print("No")


Failing test case input:
dcc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=str(list(input()))
if("a" in S and "b" in S and "c" in S):
    print("Yes")
else:
    print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s =input()
print("Yes" if "a" and "b" and "c" in s else "No")

Failing test case input:
dcd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s =input()
print("Yes" if ("a" in s) and ("b" in s) and ("c" in s) else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print("Yes" if S[0]==S[1] or S[0]==S[2] or S[1]==S[2] else "No")

Failing test case input:
d`d

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=input()
print("No" if S[0]==S[1] or S[0]==S[2] or S[1]==S[2] else "Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print(sorted(S))
if "".join(sorted(S)) == "abc":
  print("Yes")
else:
  print("No")

Failing test case input:
^cc

Expected output:
No


Actual output:
['^', 'c', 'c']
No


Fixed submission (verdict: Accepted):
S = input()
if "".join(sorted(S)) == "abc":
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
li = list(input())
li.sort

if li[0] == 'a' and li[1] == 'b' and li[2] == 'c':
    print('Yes')
else:
    print('Yes')


Failing test case input:
bbd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
li = list(input())

if li[0] != li[1] and li[1] != li[2] and li[0] != li[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
ans = 'Yes'
if S[0] == S[1]:
    ans = 'No'
if S[0] == S[2]:
    ans = 'No'
print(ans)    

Failing test case input:
a__

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
ans = 'Yes'
if S[0] == S[1]:
    ans = 'No'
if S[0] == S[2]:
    ans = 'No'
if S[1] == S[2]:
    ans = 'No'
print(ans)

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

S = list(input())
print(S)

if S.count('a') ==1 and S.count('b') and S.count('c'):
    print('Yes')
else:
    print('No')

Failing test case input:
dad

Expected output:
No


Actual output:
['d', 'a', 'd']
No


Fixed submission (verdict: Accepted):

S = list(input())

if S.count('a') ==1 and S.count('b') and S.count('c'):
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = [i for i in input()]
if a[0] != a[1] and a[1] != a[2]:
  print("Yes")
else:
  print("No")

Failing test case input:
bdb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = [i for i in input()]
if a[0] != a[1] and a[1] != a[2] and a[2] != a[0]:
  print("Yes")
else:
  print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())

import collections
count = collections.Counter(S)

if count["a"]==1 and count["b"]==1 and count["c"]==1:
  print('YES')
else:
  print('NO')

Failing test case input:
cdc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = list(input())

import collections
count = collections.Counter(S)

if count["a"]==1 and count["b"]==1 and count["c"]==1:
  print('Yes')
else:
  print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if sorted(input()) == "abc":
  print("YES")
else:
  print("NO")

Failing test case input:
``a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
if "".join(sorted(list(input()))) == "abc":
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("Yes" if len(set(input())) else "No")

Failing test case input:
c^c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print("Yes" if len(set(input())) == 3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()

def mySort(S):
    if 'a' not in S:
        return 'No'
    elif 'b' not in S:
        return 'No'
    elif 'c' not in S:
        return 'No'
    else:
        return 'Yes'
    
mySort(S)

Failing test case input:
`c`

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
S = input()

def mySort(S):
    if 'a' not in S:
        return 'No'
    elif 'b' not in S:
        return 'No'
    elif 'c' not in S:
        return 'No'
    else:
        return 'Yes'
    
print(mySort(S))

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
if a[0] == a[1] and a[1] == a[2] and a[2] == a[0]:
    print("No")
else:
    print("Yes")


Failing test case input:
ada

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = list(input())
if a[0] == a[1] or a[1] == a[2] or a[2] == a[0]:
    print("No")
else:
    print("Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = set(input())

if "a" and "b" and "c" in S:
    print("Yes")
else:
    print("No")

Failing test case input:
c_c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = set(input())

T = {"a", "b", "c"}

if T == S:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a[0] != a[1] != a[2]:
  print('Yes')
else:
  print('No')

Failing test case input:
`a`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = input()
if a[0] == a[1] or a[0] == a[2] or a[1] == a[2]:
  print('No')
else:
  print('Yes')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if S == 'abc'or'bac'or'acb'or'bca'or'cab'or'cba':
    print('Yes')
else:
    print('No')

Failing test case input:
a`a

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
if S in ['abc','bac','acb','bca','cab','cba']:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=str(list(input()))
if("a" and "b" and "c" not in S):
    print("No")
else:
    print("Yes")


Failing test case input:
cc`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=str(list(input()))
if("a" in S and "b" in S and "c" in S):
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = str(input())
if "a" and "b" and "c" in s:
    print("Yes")
else:
    print("No")

Failing test case input:
cac

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = str(input())
if "a" in s and "b" in s and "c" in s:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0] != s[1] and s[1] != s[2]:
    print('Yes')
else:
    print('No')


Failing test case input:
cec

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0] != s[1] and s[1] != s[2] and s[2] != s[0]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
print('Yes' if S[0]!=S[1]!=S[2] else 'No')

Failing test case input:
d`d

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=input()
print('Yes' if len(set(S))==len(S) else 'No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if 'a' and 'b' and 'c' in S:
    print('Yes')
else:
    print('No')

Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
if 'a' in S and 'b' in S and 'c' in S:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


def main():

   S = input()
   print('Yes') if 'a' and 'b' and 'c' in S else print('No')
      

if __name__== "__main__":
    main() 






Failing test case input:
dcd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):


def main():

   print('Yes') if len(set(input()))==3 else print('No')

if __name__== "__main__":
    main()

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

if s.find('a') != -1 and s.find('b') != -1 and s.find('c') != -1:
    print("YES")
else:
    print("NO")


Failing test case input:
cac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()

if s.find('a') != -1 and s.find('b') != -1 and s.find('c') != -1:
    print("Yes")
else:
    print("No")
Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = str(input())

if s[0] != s[1] and s[0] != s[2]:
    print('Yes')
else:
    print('No')

Failing test case input:
a``

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()

if s[0] != s[1] and s[0] != s[2] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inp = input()
if 'a' and 'b' and 'c' in [inp[0],inp[1],inp[2]]: print('Yes')
else: print('No')

Failing test case input:
cec

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
inp = input()
if 'a' in [inp[0],inp[1],inp[2]] and 'b' in [inp[0],inp[1],inp[2]] and 'c' in [inp[0],inp[1],inp[2]]: print('Yes')
else: print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
result = 'No'

if ('a' and 'b' and 'c') in S:
    result = 'Yes'

print(result)

Failing test case input:
dcd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
result = 'No'

if 'a' in S:
    if 'b' in S:
        if 'c' in S:
            result = 'Yes'

print(result)

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

if s.count("a") and s.count("b"):
  if s.count("c") and len(s) == 3:
    print("Yes")
  else:
    print("no")
else:
  print("no")

Failing test case input:
``a

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
s = input()
 
if s.count("a") and s.count("b"):
  if s.count("c") and len(s) == 3:
    print("Yes")
  else:
    print("No")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(input());print("YNeos"[len(set(a))!=3])

Failing test case input:
d`d

Expected output:
No


Actual output:
N


Fixed submission (verdict: Accepted):
a=list(input());print("YNeos"[len(set(a))!=3::2])

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

s=set(input())
x=set(list('abc'))

print('Yes' if s-x==set() else 'No')


Failing test case input:
cac

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

s=set(input())
x=set(list('abc'))


print('Yes' if s==x else 'No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0]!=s[1] and s[0]!=s[2]:
    print("Yes")
else:
    print("No")


Failing test case input:
a``

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0]!=s[1]!=s[2]!=s[0]:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S  = input()
if 'a'and'b'and'c' in S:
    print('Yes')
else:
    print('No')


Failing test case input:
`c`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S  = list(input())
S.sort()
if S == ['a','b','c']:
    print('Yes')
else:
    print('No')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main(s):
    for x in 'abc':
        if not x.__contains__(x):
            return 'No'

        return 'Yes'


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


Failing test case input:
bdb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def main(s):
    for x in 'abc':
        if not s.__contains__(x):
            return 'No'

    return 'Yes'


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

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


a = input()

if ((a.count("a") + a.count("b") + a.count("c") ) == 3):
    print("Yes")

else:
    print("No")

Failing test case input:
cac

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):


a = input()

if (a.count("a") and a.count("b") and a.count("c") ):
    print("Yes")

else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



import array
from bisect import *
from collections import *
import fractions
import heapq
from itertools import *
import math
import random
import re
import string
import sys

s = ''.join(sorted(input()))
print(s)
if s == 'abc':
    print('Yes')
else:
    print('No')



Failing test case input:
^bb

Expected output:
No


Actual output:
^bb
No


Fixed submission (verdict: Accepted):



import array
from bisect import *
from collections import *
import fractions
import heapq
from itertools import *
import math
import random
import re
import string
import sys

s = ''.join(sorted(input()))
if s == 'abc':
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S =input()
if "a" in S and "b" in S and "c" in S:
	print("YES")
else:
  	print("NO")

Failing test case input:
`a`

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S =input()
if "a" in S and "b" in S and "c" in S:
	print("Yes")
else:
  	print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("Yes" if set(input()) else "No")


Failing test case input:
^aa

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
print("Yes" if len(set(input()))==3 else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    s = input()
    
    if 'a' in s and 'b' in s and 'c' in s:
        print("YES")
    else:
        print("NO")

    
if __name__ == '__main__':
    main()


Failing test case input:
ddb

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
def main():
    s = input()
    
    if 'a' in s and 'b' in s and 'c' in s:
        print("Yes")
    else:
        print("No")

    
if __name__ == '__main__':
    main()
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

S = input()
T = "abc"
if len(S) > 3:
  print("No")
else:
  for i in S:
    if i in T:
      T.replace(i,'')
    else:
      print("No")
      sys.exit()
  print("Yes")

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys

S = input()
T = "abc"
if len(S) > 3:
  print("No")
else:
  for i in S:
    if i in T:
      T = T.replace(i,'')
    else:
      print("No")
      sys.exit()
  print("Yes")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = set(input())
print(s)
if len(s) == 3:
    print("Yes")
else:
    print("No")


Failing test case input:
_cc

Expected output:
No


Actual output:
{'c', '_'}
No


Fixed submission (verdict: Accepted):
s = set(input())
if len(s) == 3:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
if a[0] != a[1] != a[2]:
    print("Yes")
else:
    print("No")

Failing test case input:
cdc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = input()
if a[0] != a[1] != a[2] and a[0] != a[2]:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
li = list(input())
li.sort

if li[0] != 'a' or li[1] != 'b' or li[2] != 'c':
    print('Yes')
else:
    print('Yes')


Failing test case input:
__a

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
li = list(input())

if li[0] != li[1] and li[1] != li[2] and li[0] != li[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if len(input()) == 3:
	print("Yes")
else:
	print("No")


Failing test case input:
_cc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
if len(set(input())) == 3:
	print("Yes")
else:
	print("No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=list(input())
if "a" and "b" and "c" in s:
    print("Yes")
else:
    print("No")


Failing test case input:
ecc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=list(input())
            
            
if "a" in s and "b" in s and "c" in s:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if set([s[0], s[1], s[2]]) == set(['a', 'b', 'c']):
    print('YES')
else:
    print('NO')

Failing test case input:
cac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()
if set([s[0], s[1], s[2]]) == set(['a', 'b', 'c']):
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if all(S.count("c") for c in "abc"):
  print("Yes")
else:
  print("No")

Failing test case input:
cac

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
if all(S.count(c) for c in "abc"):
  print("Yes")
else:
  print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if len(list(set(S))) == 3:
  res = " YES"
else:
  res = "NO"
print(res)

Failing test case input:
dd`

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = input()
if len(list(set(S))) == 3:
  res = " Yes"
else:
  res = "No"
print(res)

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
if "a" and "b" and "c" in S:
    print( "Yes" )
else:
    print( "No" )

Failing test case input:
cdc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
if "a" in S and "b" in S and "c" in S:
    print( "Yes" )
else:
    print( "No" )

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
mojiretu = input()

a = mojiretu.count("a")
b = mojiretu.count("b")
c = mojiretu.count("c")

if int(a) + int(b) + int(c)==3:
    print("Yes")
else:
    print("No")

Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
mojiretu = input()

a = mojiretu.count("a")
b = mojiretu.count("b")
c = mojiretu.count("c")

if int(a) ==1 and int(b) ==1 and int(c)==1:
    print("Yes")
else:
    print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
if a=="abc" and a=="acb" and a=="bac" and a=="bca" and a=="cab" and a=="cba":
  print="Yes"
else:
  print="No"
  

Failing test case input:
bcb

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
a=input()
if a=="abc" or a=="acb" or a=="bac" or a=="bca" or a=="cab" or a=="cba":
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("YES" if len(s)==len(set(s)) else "NO")

Failing test case input:
ccd

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s=input()
print("Yes" if len(s)==len(set(s)) else "No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if len(s) == 3 and not set(s) - {'a','b','c'}:
    print('Yes')
else:
    print('No')

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if len(set(s)) == 3:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
S = S.replace("a", "").replace("b", "").replace("c", "")
print("Yes" if len(S) == 0 else "No")

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
S = S.replace("a", "", 1).replace("b", "", 1).replace("c", "", 1)
print("Yes" if len(S) == 0 else "No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s  = input()
for i in range(len(s)):
    if s[i] == 'a' or s[i] == 'b' or s[i] == 'c':
        continue
    else:
        print('No')
        exit()
print('Yes')

Failing test case input:
cbb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s  = input()
list =['a','b','c']
for i in range(len(s)):
    if s[i] in list:
        list.remove(s[i])
        continue
    else:
        print('No')
        exit()
print('Yes')

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
s=sorted(s)

if s[0]=='a' and s[1]=='b' and s[2]=='c':
    print('YES')
else:
    print('NO')

Failing test case input:
dcd

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s=input()
s=sorted(s)

if s[0]=='a' and s[1]=='b' and s[2]=='c':
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = list(input())
if S.count("a") == S.count("b") -- S.count("c") == 1:
  print("YES")
else:
  print("NO")

Failing test case input:
bdd

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
S = list(input())
if S.count("a") == S.count("b") == S.count("c") == 1:
  print("Yes")
else:
  print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print("Yes" if len(S) == 3 else "No") 

Failing test case input:
c_c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
print("Yes" if len(set(S)) == 3 else "No")

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()

if s[0] != s[1] and s[0] != s[2]:
    print('Yes')
else:
    print('No')

Failing test case input:
dcc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()

if s[0] != s[1] and s[0] != s[2] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
if s[0] != s[1] != s[2] and s[1] != s[2]:
    print('Yes')
else:
    print('No')


Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
if s[0] != s[1] and s[0] != s[2] and s[1] != s[2]:
    print('Yes')
else:
    print('No')

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if "a" and "b" and "c" in input():
    print("Yes")
else:print("No")

Failing test case input:
c`c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
if set(input()) ==set("abc"):
    print("Yes")
else:print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=list(input())

y=sorted(x)

if y[0] == y[1]:
	print("No")
else:
	print("Yes")


Failing test case input:
b^b

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
x=list(input())

y=sorted(x)

if y[0] == y[1] or y[1] == y[2]:
	print("No")
else:
	print("Yes")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=str(list(input()))
if('a' and 'b' and 'c' not in S):
    print("No")
else:
    print("Yes")

Failing test case input:
^cc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=str(list(input()))
if("a" in S and "b" in S and "c" in S):
    print("Yes")
else:
    print("No")
Problem: p03854
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
s_reverse = ''.join(list(reversed(s)))
t = ''

while True:
    n = len(t)
    print(n)
    print(len(s))
    if s_reverse == t:
        print('YES')
        break
    if len(s) <= n:
        print('NO')
        break
    if s_reverse[n] == 'm':
        t += ''.join(list(reversed('dream')))
    elif s_reverse[n] == 'e':
        t += ''.join(list(reversed('erase')))
    elif s_reverse[n:n+3] == 'rem':
        t += ''.join(list(reversed('dreamer')))
    elif s_reverse[n:n+3] == 'res':
        t += ''.join(list(reversed('eraser')))
    else:
        print('NO')
        break

Failing test case input:
mqefrte`d

Expected output:
NO


Actual output:
0
9
NO


Fixed submission (verdict: Accepted):
s = input()
s_reverse = ''.join(list(reversed(s)))
t = ''

while True:
    n = len(t)
    if s_reverse == t:
        print('YES')
        break
    if len(s) <= n:
        print('NO')
        break
    if s_reverse[n] == 'm':
        t += ''.join(list(reversed('dream')))
    elif s_reverse[n] == 'e':
        t += ''.join(list(reversed('erase')))
    elif s_reverse[n:n+3] == 'rem':
        t += ''.join(list(reversed('dreamer')))
    elif s_reverse[n:n+3] == 'res':
        t += ''.join(list(reversed('eraser')))
    else:
        print('NO')
        break

Problem: p03854
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
words = {"dream": "A", "dreamer": "A", "erase": "A", "eraser": "A"}
 
ans = []
 
inputs = str(input())
 
inputs = inputs.replace("eraser", "").replace("dreamer", "")
inputs = inputs.replace("dream", "").replace("erase", "")

if len(list(inputs)) > 0:
  print("No")
else:
  print("Yes")

Failing test case input:
cte`meqeq

Expected output:
NO


Actual output:
No


Fixed submission (verdict: Accepted):
words = {"dream": "A", "dreamer": "A", "erase": "A", "eraser": "A"}
 
ans = []
 
inputs = str(input())
 
inputs = inputs.replace("eraser", "").replace("erase", "").replace("dreamer", "").replace("dream", "")

if len(list(inputs)) > 0:
  print("NO")
else:
  print("YES")