ZhenlongDai/ACPR huggingface dataset:
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if (a or b) > 8:
    print(':(')
else:
    print('Yay!')

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if (a <= 8 and b <= 8):
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if a<=8 and b<=b:
    print("Yay!")
else:
    print(":(")


Failing test case input:
-4 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if a>8 and b>8:
  print(":(")
else:
  print("yay!")

Failing test case input:
-1 47

Expected output:
:(


Actual output:
yay!


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())

if a<9 and b<9:
  print("Yay!")
elif a>8 or b>8:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
print('Yay!' if a<=8 or b<=8 else ':(')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<8 and b<8:
  print("Yay!")
else:
  print(":)")


Failing test case input:
0 18

Expected output:
:(


Actual output:
:)


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a<9and b<9:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = list(map(int, input().split()))
if a>=8 and b>=8: print('Yay!')
else: print(':(')

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = list(map(int, input().split()))
if a<=8 and b<=8: print('Yay!')
else: print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())

if A>=8 and B>=8:
  print("Yay!")
else:
  print(":(")

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())

if A<=8 and B<=8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a+b<15:
    print("Yay!")
else:
    print(":(")


Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<9 and b<9:
    print("Yay!")
else:
    print(":(")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,(input().split()))

if a > 11 or b > 11:
    print(":( ")
else:
    print("Yay!")

Failing test case input:
11 6

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = map(int,(input().split()))

if a <=8 and b <= 8:
    print("Yay!")
else:
    print(":( ")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<=8&b<=8:
  print('Yay!')
else:
  print(':(')

Failing test case input:
-1 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())
if A <= 8 & B <= 8:
  print("Yey!")
else:
  print(":(")

Failing test case input:
-4 40

Expected output:
:(


Actual output:
Yey!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())
if A <= 8 and B <= 8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())

print(['Yay!',':('][A>8 and B>8])

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())

print([':(','Yay!'][A<9 and B<9])

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if b < a:
  a, b = b, a
if (16 - b - 2 <= a):
  print('Yay!')
else:
  print(':(')


Failing test case input:
-4 26

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = (int(_) for _ in input().split())
if(a > 8 or b > 8):
    print("Yay!")
else:
    print(":(")
    

Failing test case input:
0 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = (int(_) for _ in input().split())
if(a <= 8 and b <=8):
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a > 8 or b >8:
  print("Yay!")
else:
  print(":(")

Failing test case input:
-1 34

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a > 8 or b >8:
  print(":(")
else:
  print("Yay!")

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

a, b = list(map(int, input().rstrip().split()))
if a > 8 or b > 8:
    print(":()")
else:
    print("Yay!")

Failing test case input:
11 6

Expected output:
:(


Actual output:
:()


Fixed submission (verdict: Accepted):

a, b = list(map(int, input().rstrip().split()))
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())
if A<=8 or B>=8:
    print("Yay!")
else:
    print(":(")


Failing test case input:
-1 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())
if A<=8 and B<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
n=16
if a<=n/2 and b<=n/2:
    print('Yay!')
else:
    ':()'

Failing test case input:
-6 26

Expected output:
:(


Actual output:

Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
n=16
if a<=n/2 and b<=n/2:
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if (abs(a-b))%2==0 and a+b==16:
  print(":(")
else:
  print("Yay!")

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

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


A, B = map(int, input().rstrip().split())
if A < 8 or B < 8:
    print("Yay")
else:
    print(":(")

Failing test case input:
30 0

Expected output:
:(


Actual output:
Yay


Fixed submission (verdict: Accepted):


A, B = map(int, input().rstrip().split())
if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if b < a:
  a, b = b, a
if b <= 8 or 16 - b - 2 <= a:
  print('Yay!')
else:
  print(':(')

Failing test case input:
0 18

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
(a, b) = map(int, input().split())
if a <= 8 or b <= 8:
    print("Yay!")
else:
    print(":(")

Failing test case input:
-1 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
(a, b) = map(int, input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
print('Yay' if (a<=8 & b<=8) else ':(')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
print('Yay!' if a<=8 and b<=8 else ':(')
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys


def solve(a,b):
    if a >= 9 or b >= 9:
        return ':c'
    else:
        return 'yay!'

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Failing test case input:
-6 26

Expected output:
:(


Actual output:
:c


Fixed submission (verdict: Accepted):
import sys


def solve(a,b):
    if a >= 9 or b >= 9:
        return ':('
    else:
        return 'Yay!'

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int, input().split())

if a >= 9 or b >= 9:
    print(":)")
else:
    print("Yay!")

Failing test case input:
30 0

Expected output:
:(


Actual output:
:)


Fixed submission (verdict: Accepted):
a,b = map(int, input().split())

if a >= 9 or b >= 9:
    print(":(")
else:
    print("Yay!")

Problem: p03323
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A, B = map(int, input().split())

if A+B <= 16:
    print('Yay!')
else:
    print(':(')


Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())

if A<=8 and B <= 8:
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())

if max(a,b) > 8:
    print("Yay!")
else:
    print(":(")

Failing test case input:
-4 26

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())

if max(a,b) <= 8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
print([':(', 'Yay!'][int((a <= 16) & (b <= 8))])


Failing test case input:
11 6

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
print([':(', 'Yay!'][int((a <= 8) & (b <= 8))])

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
indata = input()
indata = indata.split()
A=int(indata[0])
B=int(indata[1])

if A > 8:
    print(":(")

if B > 8:
    print(":(")

print("Yay!")

Failing test case input:
-2 54

Expected output:
:(


Actual output:
:(
Yay!


Fixed submission (verdict: Accepted):
indata = input()
indata = indata.split()
A=int(indata[0])
B=int(indata[1])

if A > 8:
    print(":(")
    exit()

if B > 8:
    print(":(")
    exit()

print("Yay!")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int,input().split())
if N <= 8 and M <= 8:
  print("Yay!")
else:
  print(":)")

Failing test case input:
-4 40

Expected output:
:(


Actual output:
:)


Fixed submission (verdict: Accepted):
N, M = map(int,input().split())
if N <= 8 and M <= 8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = [int(i) for i in input().split()]
if A >= 8:
    print('Yay!')
elif B >= 8:
    print('Yay!')
else:
    print(':(')


Failing test case input:
-1 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = [int(i) for i in input().split()]
if A > 8:
    print(':(')
elif B > 8:
    print(':(')
else:
    print('Yay!')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())
if A+B+2 <= 16:
  print("Yay!")
else:
  print(":(")

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())
if A > 8 or B > 8:
  print(":(")
else:
  print("Yay!")

Problem: p03323
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b = map(int, input().split())
if a >= 8 and b >= 8:
  print('Yay!')
else:
  print(':(')

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())

if a > 8 and b > 8:
	print(':(')
else:
	print('Yay!')

Failing test case input:
30 0

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print('Yay!')
else:
    print(': (')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
: (


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print('Yay!')
else:
    print(':(' )

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if  a<=8 or b<=8:
    print('Yay!')
else:
    print(':(')

Failing test case input:
0 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if  a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())
print('Yay!' if A > 8 or B > 8 else ':(')

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())
print('Yay!' if A <= 8 and B <= 8 else ':(')
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int, input().split())

if A-B <= 1:
	print("Yay!")
else:
	print(":(")

Failing test case input:
-1 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int, input().split())

if A<9 and B<9:
	print("Yay!")
else:
	print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())
if A <= 8:
    if B <=8:
        print("Yay!")
else:
    print(":(")

Failing test case input:
-4 26

Expected output:
:(


Actual output:

Fixed submission (verdict: Accepted):
A, B = map(int, input().split())
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

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


a, b = map(int, input().split())

if 1 <= a + b <= 16 and (a <= 10 or b <= 10):
    print('Yay!')
else:
    print(':(')


Failing test case input:
11 5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):


a, b = map(int, input().split())

if 1 <= a + b <= 16 and a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

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




if __name__ == '__main__':
    a, b = map(int, input().split())

    if a <= 8:
        print('Yay!')
    else:
        print(':( ')


Failing test case input:
-4 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):




if __name__ == '__main__':
    a, b = map(int, input().split())

    if a <= 8 and b <= 8:
        print('Yay!')
    else:
        print(':( ')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = [int(i) for i in input().split()]
if A <= 8:
    print('Yay!')
    if B <= 8:
        print('Yay!')
    else:
        print(':(')
else:
    print(':(')

Failing test case input:
-4 26

Expected output:
:(


Actual output:
Yay!
:(


Fixed submission (verdict: Accepted):
A,B = [int(i) for i in input().split()]
if A > 8:
    print(':(')
elif B > 8:
    print(':(')
else:
    print('Yay!')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(':(')
print('Yay!')


Failing test case input:
30 0

Expected output:
:(


Actual output:
:(
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
if a <= 8 or b <= 8:
  print('Yay!')
else:
  print(':(')

Failing test case input:
-1 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
if a > 8 or b > 8:
  print(':(')
else:
  print('Yay!')
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print("Yay!")

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<=8 or b<=8:
  print("Yay!")
else:
  print("Yay!")

Failing test case input:
-1 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int,input().split())

c = max(a,b)

if c <= 16:
  print("Yay!")
  
else:
  print(":(")
  

Failing test case input:
11 5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int,input().split())

c = 2*max(a,b)

if c <= 16:
  print("Yay!")
  
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print("Yay!")
else:
    print(":(")

Failing test case input:
-1 34

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = map(int, input().split())

if A >= 8 and B >= 8:
	print("Yay!")
else:
	print(":(")

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
	print("Yay!")
else:
	print(":(")

Problem: p03323
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a,b=map(int,input().split())
if abs(a-b)*2<=a*2-16:
    print("Yay!")
else:
    print(":(")

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())

if a<=8 and b>=8:
  print('Yay!')
else:
  print(':(')

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())

if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
A,B = [int(i) for i in input().split()]
ans = "Yay!"
if A > 8 and B > 8 :
    ans = ":("
print(ans)

Failing test case input:
-1 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
A,B = [int(i) for i in input().split()]
ans = "Yay!"
if A > 8 or B > 8 :
    ans = ":("
print(ans)
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

input = sys.stdin.readline

a, b = map(int, input().rstrip().split())

if ((16 - abs(a - b))*2 < (16 - min([a, b]))):
    print('Yay!')
else:
    print(':(')


Failing test case input:
-4 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline

a, b = map(int, input().rstrip().split())

if (a <= 8 and b <= 8):
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int,input().split())
if a+b > 16:
    print(':(')
else:
    print('Yay!')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = map(int,input().split())
if a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int, input().split())
if (A-1) <= 16 - A and B-1 <= 16 -B:
    print ("YES")
else:
    print("NO")

Failing test case input:
-4 47

Expected output:
:(


Actual output:
NO


Fixed submission (verdict: Accepted):
A,B = map(int, input().split())
if (A-1) <= 16 - A and B-1 <= 16 -B:
    print ("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin
import fractions

a,b = [int(x) for x in stdin.readline().rstrip().split()]

if a > 8 or b > 8:
    print(":()")
    exit()
print("Yay!")

Failing test case input:
-4 47

Expected output:
:(


Actual output:
:()


Fixed submission (verdict: Accepted):
from sys import stdin
import fractions

a,b = [int(x) for x in stdin.readline().rstrip().split()]

if a > 8 or b > 8:
    print(":(")
    exit()
print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = [ int(v) for v in input().split() ]

if a >= 8 and b >= 8:
  print("Yay!")
else:
  print(":(")

Failing test case input:
18 8

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = [ int(v) for v in input().split() ]

if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = [int(x) for x in input().split()]
if a<8 and a<8:
    print("Yay!")
else:
    print(":(")

Failing test case input:
-6 26

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = [int(x) for x in input().split()]
if a<=8 and  b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B=input().split()
if int(A)<int(9) or int(B)<int(9):
  print("Yay!")
else:
  print( ":(")

Failing test case input:
-6 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B=input().split()
if int(A)<=8 and int(B)<=8:
  print("Yay!")
else:
  print( ":(")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys 
import math

a, b = map(int, input().split(" "))

if a<=8 & b<=8:
    print("Yey!")
else:
    print(":(")


Failing test case input:
-2 54

Expected output:
:(


Actual output:
Yey!


Fixed submission (verdict: Accepted):
import sys 
import math

a, b = map(int, input().split(" "))

if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inp = input()
print("a")
inp2 = inp.split()
A=int(inp2[0])
B=int(inp2[1])
if A >8 or B>8:
	print(":(")
else:
	print("Yay!")

Failing test case input:
11 5

Expected output:
:(


Actual output:
a
:(


Fixed submission (verdict: Accepted):
inp = input()
inp2 = inp.split()
A=int(inp2[0])
B=int(inp2[1])
if A >8 or B>8:
	print(":(")
else:
	print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l=list(map(int,input().split()))
if(all(l)<=8):
  print('Yay!')
else:print(':(')

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
l=list(map(int,input().split()))

if(all(l[x] <= 8 for x in range(len(l)) )):
  print('Yay!')
else:print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int, input().split())

if A-B <=1 or B-A <=1:
	print("Yay!")
else:
	print(":(")


Failing test case input:
11 5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int, input().split())

if A<9 and B<9:
	print("Yay!")
else:
	print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())
if A>=9 or B >= 9:
    print('Yay!')
else:
    print(':(')


Failing test case input:
-4 47

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())
if A >= 9 or B >= 9:
    print(':(')
else:
    print('Yay!')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if (abs(a-b))%2==0 and a+b==16:
  print("Yay!")
else:
  print(":(")

Failing test case input:
11 5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

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

A, B = map(int, input().split())

if A <= 9 & B <= 9:
    print('Yay!')
else:
    print(':(')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = map(int, input().split())

if (A <= 8) & (B <= 8):
    print('Yay!')
else:
    print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = list(map(int, input().split()))

if a < 9 or b < 9:
  print("Yay!")
else:
  print(":(")

Failing test case input:
-6 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = list(map(int, input().split()))

if a < 9 and b < 9:
  print("Yay!")
else:
  print(":(")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

ab_list = input().split()
A_cake = int(ab_list[0])
B_cake = int(ab_list[1])

if (not 1<= A_cake <=16) or (not 1<= B_cake <=16) or (A_cake + B_cake > 16):
    
    print(":(")
    
    
    exit()


Acnt = A_cake
Bcnt = B_cake

for i in range(16):
    if Acnt <= 0:
        Bcnt -= 1
        continue
    elif Bcnt <= 0:
        Acnt -= 1
        continue
    elif i % 2 == 0:
        Acnt -= 1
        continue
    else:
        Bcnt -= 1
        continue

if Acnt <= 0 and Bcnt <= 0:
    print("Yay!")
else:
    print(":(")
    print(Acnt)
    print(Bcnt)




Failing test case input:
11 5

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):

ab_list = input().split()
A_cake = int(ab_list[0])
B_cake = int(ab_list[1])

if (not 1<= A_cake <=16) or (not 1<= B_cake <=16) or (A_cake + B_cake > 16):
    
    print(":(")
    
    
    exit()


Acnt = A_cake
Bcnt = B_cake

for i in range(16):
    if i % 2 == 0:
        Acnt -= 1
    else:
        Bcnt -= 1

if Acnt <= 0 and Bcnt <= 0:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a>8 or b>8:
  print("Yey!")
else:
  print(":(")

Failing test case input:
-6 26

Expected output:
:(


Actual output:
Yey!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a>8 or b>8:
  print(":(")
else:
  print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(int, input().split())
print('Yay!') if(a>8 or b>8) else print(':(')

Failing test case input:
-4 26

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
print('Yay!') if(a < 9 and b < 9) else print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(int,input().split())
if a<=8 or a<=8:
    print("Yay!")
else:
    print(":(")

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=map(int,input().split())
if(x>8 or y>8):
    print("No")
else:
    print("Yes")


Failing test case input:
-2 40

Expected output:
:(


Actual output:
No


Fixed submission (verdict: Accepted):
x,y=map(int,input().split())
if(x>8 or y>8):
    print(":(")
else:
    print("Yay!")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
A, B = [int(x) for x in input().split()]
if A <= 8 and B <= 8:
    print("Yes")
else:
    print("No")

Failing test case input:
0 18

Expected output:
:(


Actual output:
No


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
A, B = [int(x) for x in input().split()]
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")
Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())

if((A-B) <= 1):
  print('Yay!')
else:
  print(':(')

Failing test case input:
-6 20

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())

if(abs(A-B) <= 1):
  print('Yay!')
else:
  print(':(')

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B = map(int,input().split())
if A <= 8 & B <= 8:
    print("Yay!")
else:
    print(":(")


Failing test case input:
-1 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A,B = map(int,input().split())
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = list(map(int, input().split()))
if (a!=8 and a+b==16) or a==14 or b==14:
  print(':(')
else:
  print('Yay!')

Failing test case input:
-2 40

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
a,b = list(map(int, input().split()))
if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

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


tmp = input()
a = int(tmp.split(" ")[0])
b = int(tmp.split(" ")[1])

if a <= 8:
    if b <= 8:
        print("Yay!")
else:
    print(":(")

Failing test case input:
-6 26

Expected output:
:(


Actual output:

Fixed submission (verdict: Accepted):

 
tmp = input()
a = int(tmp.split(" ")[0])
b = int(tmp.split(" ")[1])
 
if a <= 8:
    if b <= 8:
        print("Yay!")
    else:
        print(":(")
else:
    print(":(")

Problem: p03323
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B = [int(x) for x in input().split(' ')]

if A >= 8 or B >= 8:
    print('Yay!')
else:
    print(':(')

Failing test case input:
0 31

Expected output:
:(


Actual output:
Yay!


Fixed submission (verdict: Accepted):
A, B = [int(x) for x in input().split(' ')]

if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if len(list(set(list(input()))))==3:
  print("YES")
else:
  print("NO")


Failing test case input:
bdd

Expected output:
No


Actual output:
NO


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

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

Failing test case input:
dd`

Expected output:
No


Actual output:
NO


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

Problem: p03385
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def resolve():
    s = input()
    ans = "Yes" if all([True for c in ["a", "b", "c"] if c in s]) else "No"
    print(ans)


if __name__ == "__main__":
    resolve()


Failing test case input:
dcd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def resolve():
    s = input()
    ans = "Yes" if all([True if c in s else False for c in ["a", "b", "c"]]) else "No"
    print(ans)


if __name__ == "__main__":
    resolve()

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:
aea

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()
if all(elem in 'abc' for elem in s):
  print('Yes')
else:
  print('No')

Failing test case input:
cac

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 = sorted(input())
if S == sorted(S):
    print('Yes')
else:
    print('No')

Failing test case input:
dcc

Expected output:
No


Actual output:
Yes


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

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


s = input()

if 'a' in s and 'a' in s 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 = input()








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


alb_list = [0, 0, 0]

for i in range(3):
    t = s[i]
    
    if s[i] == "a":
        alb_list[0] += 1
    elif s[i] == "b":
        alb_list[1] += 1
    elif s[i] == "c":
        alb_list[2] += 1
    else:
        continue

ans = 0
for i in range(3):
    if alb_list[i] != 1:
        ans = 1

if ans == 0:
    print("Yes")
else:
    print("NO")

Failing test case input:
a__

Expected output:
No


Actual output:
NO


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


alb_list = [0, 0, 0]

for i in range(3):
    t = s[i]
    
    if s[i] == "a":
        alb_list[0] += 1
    elif s[i] == "b":
        alb_list[1] += 1
    elif s[i] == "c":
        alb_list[2] += 1
    else:
        continue

ans = 0
for i in range(3):
    if alb_list[i] != 1:
        ans = 1

if ans == 0:
    print("Yes")
else:
    print("No")

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

if S=="abc" or S=="acb" or S=="bac" or S=="bca" or S=="cab" or S=="cba":
  print("Yes")
else:
  print("no")

Failing test case input:
dcd

Expected output:
No


Actual output:
no


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

if S=="abc" or S=="acb" or S=="bac" or S=="bca" or S=="cab" or S=="cba":
  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:
dbd

Expected output:
No


Actual output:
Yes


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):
s = str(input())

if s[0] != s[1]: 
    if s[0] != s[2]:
        if s[1] != s[2]:
            print("yes")
        else:
            print("no")
    else:
        print("no")
else:
    print("no")

Failing test case input:
```

Expected output:
No


Actual output:
no


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

if s[0] != s[1]: 
    if s[0] != s[2]:
        if s[1] != s[2]:
            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())
a.sort()
print(a)
b = "".join(a)
if b == "abc":
    print("Yes")
else:
    print("No")

Failing test case input:
_cc

Expected output:
No


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


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

Problem: p03385
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
s=sorted(s)
l=['a','b','c']
if s==l:
    print('YES')
else:
    print('NO')

Failing test case input:
``_

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=input()
if "a" and "b" and "c" in S:
    print("Yes")
else:
    print("No")

Failing test case input:
cec

Expected output:
No


Actual output:
Yes


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

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

Failing test case input:
ecc

Expected output:
No


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


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

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

Failing test case input:
`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):
n = str(input())
nl = list(n)
nlset = set(nl)
def check(onelist):
    if nlset == {'a','b','c'}:
        print('YES')
    else:
        print('NO')
check(nlset)

Failing test case input:
d``

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
n = str(input())
nl = list(n)
nlset = set(nl)
def check(onelist):
    if nlset == {'a','b','c'}:
        print('Yes')
    else:
        print('No')
check(nlset)

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

chksum = 0
 
if ('a' in S):
    chksum+=1
if ('b' in S):
    chksum+=1
if ('c' in S):
    chksum+=1
    
if chksum == 3:
	print("yes")
else:
	print("no")

Failing test case input:
``a

Expected output:
No


Actual output:
no


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

chksum = 0
 
if ('a' in S):
    chksum+=1
if ('b' in S):
    chksum+=1
if ('c' in S):
    chksum+=1
    
if chksum == 3:
	print("Yes")
else:
	print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def abc(s):
    word = list(s)
    print(word)
    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:
ecc

Expected output:
No


Actual output:
S:['e', 'c', 'c']
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):
a = list(input())
a.sort()
print(a)
a = "".join(a)
if a == "abc":
    print("Yes")
else:
    print("No")

Failing test case input:
^aa

Expected output:
No


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


Fixed submission (verdict: Accepted):
a = list(input())
a.sort()
b = "".join(a)
if b == "abc":
    print("Yes")
else:
    print("No")
Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc = ["abc"[i] for i in range(3)]
raws = input()
target=[raws[i] for i in range(3)]
tmp = list(filter(lambda x:x in target, abc))
if len(tmp) == 3:
     print("YES")
else:
     print("NO")

Failing test case input:
^cc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
abc = ["abc"[i] for i in range(3)]
raws = input()
target=[raws[i] for i in range(3)]
tmp = list(filter(lambda x:x in target, abc))
if len(tmp) == 3:
     print("Yes")
else:
     print("No")

Problem: p03385
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input())
l = set(s)
if len(l) == 1:
  print('Yes')
else:
  print('No')

Failing test case input:
```

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = list(input())
l = set(s)
if len(l) == 3:
  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:
cdd

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):
a = input()
if a.count('a')+a.count('b')+a.count('c')==3:
    print("Yes")
else:
    print("No")

Failing test case input:
ccc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = 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):
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"
  

Failing test case input:
bbd

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()
if "a" and "b" and "c" in str(S):
    print("Yes")
else:
    print("No")

Failing test case input:
_cc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S=input()
if "a" in str(S) and "b" in str(S) and "c" in str(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:
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.4.3), verdict: Wrong Answer):
S = input()
if S.count("a") == S.count("a") == S.count("a") == 1:
  print("Yes")
else:
  print("No")

Failing test case input:
a__

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):
S = str(input())
L = {"a","b","c"}
if {S[0],S[1],S[2]} == L:
    print("YES")
else:
    print("NO")


Failing test case input:
`a`

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.8.2), verdict: Wrong Answer):
li = list(input())

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


Failing test case input:
```

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.8.2), verdict: Wrong Answer):
li = list(input())
sorted(li)
if li[0] == 'a' and li[1] == 'b' and li[2] == 'c':
    print('Yes')
else:
    print('Yes')


Failing test case input:
ccd

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()
print("Yes"if s[0]!=s[1]!=s[2] else "No")

Failing test case input:
cdc

Expected output:
No


Actual output:
Yes


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

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

Failing test case input:
``_

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):
S = input()
ans = "Yes"
for s in S:
    if s not in "abc":
        ans = "No"
        break
print(ans)

Failing test case input:
bcb

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
T = "abc" 
ans = "Yes"
for t in T:
    if t in S:
        continue
    else:
        ans = "No"
        break
print(ans)

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


if __name__ == "__main__":
    test()


Failing test case input:
_cc

Expected output:
No


Actual output:
NO


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


if __name__ == "__main__":
    test()

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

Failing test case input:
cec

Expected output:
No


Actual output:
NO


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')