qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A,B = map(int, input().split())
if A <= 8 and B <= 8:
    print("yay!")
else:
    print(":(")

Fixed code:
A,B = map(int,input().split())
if A<= 8 and B <= 8:
    print('Yay!')
else:
    print(':(')
Buggy code:
A, B = map(int, input().split())
if A > 8 or B > 8:
  print("Yay")
else:
  print(":(")

Fixed code:
A, B = list(map(int,input().split()))
if A > 8 or B > 8:
  print(':(')

else:
  print('Yay!')
Buggy code:
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!")

Fixed code:
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!")
Buggy code:
A, B = map(int, input().split())
if max(A, B) > 8:
  print('Yay!')
else:
  print(':(')

Fixed code:
A, B = map(int, input().split())
if max(A, B) <= 8:
  print('Yay!')
else:
  print(':(')
Buggy code:
a,b = map(int,input().split())
if a > 8 || b > 8:
 print(':(")
else:
 print('Yay!')

Fixed code:
a,b = map(int,input().split())
if a > 8 or b > 8:
 print(':(')
else:
 print('Yay!')
Buggy code:
A,B = map(int,input().split())
if A>=9 or B >= 9:
    print('Yay!')
else:
    print(':(')


Fixed code:
A,B = map(int,input().split())
if A >= 9 or B >= 9:
    print(':(')
else:
    print('Yay!')
Buggy code:
A, B = map(int, input().strip().split())

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

Fixed code:
A, B = map(int, input().strip().split())

if A > 8 or B > 8:
  print(":(")
else:
  print("Yay!")
Buggy code:
A,B = map(int, input().split())
if max(A, B) < 8:
    print('Yay!')
else:
    print(':(')


Fixed code:
A, B = map(int, input().split())

print('Yay!' if max(A, B) <= 8 else ':(')
Buggy code:
a,b = input().split()
#print(a)
#print(b)

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




Fixed code:
a,b = input().split()
#print(a)
#print(b)

if int(a)>8 or int(b)>8:
    print(':(')
else:
    print('Yay!')
Buggy code:
import sys 
import math

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

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


Fixed code:
import sys 
import math

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

if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")
Buggy code:
A, B = map(int, input().split())
if A== 8 and B==8:
  print("Yay!")
if A>8 and b<8:
  print(":(")
if A<8 and b>8:
  print(":(")
else:
  print("Yay!")
  

Fixed code:
A, B = map(int, input().split())
if A <= 8 and B <=8:
  print("Yay!")
else:
  print(":(")
Buggy code:
# coding: utf-8
import re
import bisect
from datetime import datetime as dt
import bisect
import math
input = sys.stdin.readline

def gcd(a, b):
    return math.gcd(a, b)

def lcm(a, b):
    return a * b / gcd(a, b)

class slist(list):
    def __init__(self, *args, **kw):
        list.__init__(self, *args, **kw)
        self.sort()

    def append(self, value):
        bisect.insort(self,value)

    def index_left(self, value):
        return bisect.bisect_left(self, value)


if __name__ == '__main__':
    a,b = map(int, input().split())
    if a <= 8 and b <= 8:
        print('Yay!')
    else:
        print(':()')


Fixed code:
# coding: utf-8
import re
import bisect
from datetime import datetime as dt
import bisect
import math
import sys
input = sys.stdin.readline

def gcd(a, b):
    return math.gcd(a, b)

def lcm(a, b):
    return a * b / gcd(a, b)

class slist(list):
    def __init__(self, *args, **kw):
        list.__init__(self, *args, **kw)
        self.sort()

    def append(self, value):
        bisect.insort(self,value)

    def index_left(self, value):
        return bisect.bisect_left(self, value)


if __name__ == '__main__':
    a,b = map(int, input().split())
    if a <= 8 and b <= 8:
        print('Yay!')
    else:
        print(':(')
Buggy code:
a, b = map(int, input().split())
if a or b >= 8:
    print('Yay!')
else:
    print(':(')

Fixed code:
a,b=map(int,input().split())
if a>8 or b>8:
	print(":(")
else:
	print("Yay!")
Buggy code:
a,b=map(int,input().split())
if a<8 and b8:
  print("Yay!")
else:
  print(":)")


Fixed code:
a, b = map(int, input().rstrip().split(" "))
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
a,b=map(int,input().split())
if a<8 and b<8:
  print("Yay!")
else:
  print(":)")


Fixed code:
a, b = map(int, input().split())

y = 'Yay!'
n = ':('

if a <= 8 and b <= 8:
    print(y)
else:
    print(n)
Buggy code:
a,b=map(int,input().split())
if a<8 && b<8:
  print("Yay!")
else:
  print(":)")

Fixed code:
a, b = map(int, input().split())
if max(a, b) <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
a=input().split(" ")
b=int(a[0])
c=int(a[1])
if a>8 or b>8:
  print(":(")
else:
  print("Yay!")

Fixed code:
a=input().split(" ")
b=int(a[0])
c=int(a[1])
if c>8 or b>8:
  print(":(")
else:
  print("Yay!")
Buggy code:
a, b = map(int, input().split())
print([':(', 'Yay!'][int((a <= 16) & (b <= 8)])


Fixed code:
a, b = map(int, input().split())
print([':(', 'Yay!'][int((a <= 8) & (b <= 8))])
Buggy code:
a ,b = map(int,input().split())
if a =< 8 and b=<8:
    print("Yay")
else:
    print(":(")

Fixed code:
a,b=list(map(int, input().split()))
if a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b=map(int,input().split())
if a <= 6 and b <= 6:print("Yay!")
else:print(":(")

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

if a < 9 and b < 9:
    input('Yay!')
else:
    input(':(')
    

Fixed code:
a,b = map(int,input().split())

if a<9 and b<9:
  print("Yay!")
else:
  print(":(")
Buggy code:
A,B=list(map(int,input().split()))
if A<=8 and B<=8:
  print('Yay!')
else:
  print(":)")

Fixed code:
A,B=list(map(int,input().split()))
if A<=8 and B<=8:
  print('Yay!')
else:
  print(":(")
Buggy code:
a,b = map(int,input().split())

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

Fixed code:
a,b = map(int,input().split())
if a <= 8 and b <= 8:
	print('Yay!')
else:
	print(':(')
Buggy code:
print([":(", "Yay!"][sum(list(map(int, input().split()))) <= 8])

Fixed code:
print([":(", "Yay!"][max(list(map(int, input().split()))) <= 8])
Buggy code:
a, b = map(int, input().split())

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


Fixed code:
a,b=list(map(int,input().split(" ")))
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")
Buggy code:
A,B = map(int,input().split())

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

Fixed code:
A,B = map(int,input().split())
if A <= 8 and B <= 8:
	print("Yay!")
else:
	print(":(")
Buggy code:
a, b = map(int, input().split())

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


Fixed code:
a, b = map(int, input().split())

print("Yay!" if a<=8 and b<=8 else " :( ")
Buggy code:
a,b = map(int,input().split())
if a<9 || b<9:
  print("Yay!")
else:
  print(":(")

Fixed code:
a,b = map(int,input().split())
if a<9 and b<9:
  print("Yay!")
else:
  print(":(")
Buggy code:
a,b=map(int,input().split())
print(["Yay",":("][a>8 or b>8])

Fixed code:
a,b=map(int,input().split())
print(["Yay!",":("][a>8 or b>8])
Buggy code:
a,b=map(int,input().split())
if a<8 or  b<8:
    print(":(")
else:
    print("Yay!")

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

if a < b:
    tmp = a
    a = b
    b = tmp

r = 16 - 2 * a
b = b - a

if r // 2 >= b:
    print('Yay!')
else:
    print(':')


Fixed code:
a, b = map(int, input().split())

if a > b:
    tmp = a
    a = b
    b = tmp

r = 16 - 2 * a
b = b - a

if r // 2 >= b:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b =map(int,input.split())
print(":(" if a>8 or b>8 else "Yay!")

Fixed code:
a, b = map(int, input().split())
ans = "Yay!"
if a > 8 or b > 8:
    ans = ":("
print(ans)
Buggy code:
a,b = map(int, intput().split())
if a>=9 or b>=9:
  print(':(')
else:
  print('Yay!')

Fixed code:
a,b = map(int, input().split())
if a>=9 or b>=9:
  print(':(')
else:
  print('Yay!')
Buggy code:
a,b=map(int,input())
if a>8 or b>8:
    print(":(")
else:
    print("Yay!")

Fixed code:
a,b=map(int,input().split())
if a>8 or b>8:
    print(":(")
else:
    print("Yay!")
Buggy code:
a, b = map(int,input().split())
#ls = list(map(int,input().split()))
#r = int(input())
#s = input()

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

Fixed code:
a, b = map(int,input().split())
#ls = list(map(int,input().split()))
#r = int(input())
#s = input()

if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")
Buggy code:
a, b = map(int, input().split())

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

Fixed code:
a, b = map(int, input().split())

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

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

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

Fixed code:
A, B = map(int, input().split())
if 8 < A or 8 < B:
    print(':(')
else:
    print('Yay!')
Buggy code:
a,b = map(int,input())
if (a<=8 and b<=8):
  print("Yay!")
else:
  print(":(")

Fixed code:
a,b = map(int, input().split())
if (a <=8) and (b <=8):
  print("Yay!")
else:
  print(":(")
Buggy code:
a, b = map(int, input().split())
if a>8 or b>8:
        print(":(")
else:
        print("Yay")

Fixed code:
a,b=map(int, input().split())
if a > 8 or b > 8:
  print(':(')
else:
  print('Yay!')
Buggy code:
A, B = map(int, input().split())
if 8 < A or 8 < B:
    print('Yay!')
else:
    print(':(')

Fixed code:
A, B = map(int, input().split())
if A > 8 or B > 8:
  print(':(')
else:
  print('Yay!')
Buggy code:
a, b = [int(_) for _ in input().split())]
print('Yay!' if a <= 8 and b <= 8 else ':()')


Fixed code:
a, b = [int(_) for _ in input().split()]
print('Yay!' if a <= 8 and b <= 8 else ':(')
Buggy code:

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

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


Fixed code:

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

if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
A,B = map(int(input().split()))
if A<9 and B<9:
    print("Yay!")
else:
    print(":(")

Fixed code:
A,B=map(int,input().split())
print("Yay!" if A<9 and B<9 else ":(")
Buggy code:
a, b = map(int, input().split())
if a<=8 and b <=8:
    print("Yes!")
else:
    print(":(")

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


Fixed code:
a,b = map(int,input().split())
if a < 9 and b < 9:
    print('Yay!')
else:
    print(':(')
Buggy code:
A,B=map(int,input().split())
if max([A,B])>8:
  print(":(")
else:
  print("Yay")

Fixed code:
A,B=map(int,input().split())
if max([A,B])>8:
  print(":(")
else:
  print("Yay!")
Buggy code:
from sys import stdin
A, B = [int(x) for x in stdin.readline().rstrip().split()]
if A<=8 and B<=8:
    print("Yey!")
else:
    print(":(")

Fixed code:
from sys import stdin
A, B = [int(x) for x in stdin.readline().rstrip().split()]
if A<=8 and B<=8:
    print("Yay!")
else:
    print(":(")
Buggy code:
A,B = map(int,input().split())
if A<=8 and B<=8:
    print("Yey!")
else:
    print(":(")

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

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

Fixed code:
A, B = map(int, input().split())

if A <= 8 and B <= 8:
	print("Yay!")
else:
	print(":(")
Buggy code:
l=list(map(int,input().split()))
print(l)
if(all(l[x] <= 8 for x in range(len(l)) )):
  print('Yay!')
else:print(':(')

Fixed code:
l=list(map(int,input().split()))
#print(l)
if(all(l[x] <= 8 for x in range(len(l)) )):
  print('Yay!')
else:print(':(')
Buggy code:

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

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

Fixed code:
A, B = map(int, input().split())

if (A <= 8) & (B <= 8):
    print('Yay!')
else:
    print(':(')
Buggy code:
A, B = list(map(int, input()))
if A<9 and B<9:
    print('Yay!')
else:
    print(':(')


Fixed code:
A, B = list(map(int, input().split()))
if A<9 and B<9:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b = map(int,input().split())
if a > 8 or b > 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
a,b = map(int,input().split())

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

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

Fixed code:
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":)")

Fixed code:
a, b = map(int,input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
a,b = map(int,input())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

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

if int(a) > 8 or int(b) > 8:
    print(":(")
else:
    print("yay!")

Fixed code:
a, b  = input().split()

if int(a) > 8 or int(b) > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
a, b = map(int, input().split())
if a > 8 or b < 8:
   print(':(')
elif a == 8 and b == 8:
   print('Yay!')
else:
   print('Yay!')


Fixed code:
a, b = map(int, input().split())
if a > 8 or b > 8:
   print(':(')
elif a == 8 and b == 8:
   print('Yay!')
else:
   print('Yay!')
Buggy code:
a, b = map(int, input().split())
if a >= 8 or b >= 8: print(":(")
else: print("Yay!")

Fixed code:
a, b = map(int, input().split())
if a > 8 or b > 8:
    print(':(')
else:
    print('Yay!')
Buggy code:
a, b = map(int, input().split())
print('Yay' if (a<=8)*(b<=8) else ':(')

Fixed code:
a, b = map(int, input().split())
print('Yay!' if (a<=8)*(b<=8) else ':(')
Buggy code:
A,B = map(int,input().split())

if A < 9 and B < 9:
  print('Yey!')
else:
  print(':(')
  

Fixed code:
A,B = map(int,input().split())

if A < 9 and B < 9:
  print('Yay!')
else:
  print(':(')
Buggy code:
A, B = map( int, input().split())

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

Fixed code:
A, B = map( int, input().split())

if( A <= 8 and B <= 8):
  print('Yay!')
  
else:
  print(':(')
Buggy code:
a = list(map(int,input()))
if a[0]<=8 and a[1]<=8:
  print("Yay!")
else:
  print(":(")

Fixed code:
a = list(map(int,input().split()))
if a[0]<=8 and a[1]<=8:
  print("Yay!")
else:
  print(":(")
Buggy code:
args = (input())
a = int( args.split(" ")[0])
b = int(args.split(" ")[1])

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

Fixed code:
args = (input())
a = int( args.split(" ")[0])
b = int(args.split(" ")[1])

if(a>8 or b>8):
    print(":(")
else:
    print("Yay!")
Buggy code:
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!")

Fixed code:
inp = input()
inp2 = inp.split()
A=int(inp2[0])
B=int(inp2[1])
if A >8 or B>8:
	print(":(")
else:
	print("Yay!")
Buggy code:
a,b=map(int,input().split())
if a or b > 8:
  print(":(")
else:
  print("Yay!")

Fixed code:
a,b = map(int,input().split())
print(':(') if a > 8 or b > 8 else print('Yay!')
Buggy code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a = ni()
b = ni()

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


Fixed code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a,b = na()

if a >= 9 or b >= 9:
    print(":(")
else:
    print("Yay!")
Buggy code:
a,b=map(int,input().split)
if a<= 8 and b<= 8:
    print('Yay!')
else:
    print(':(')

Fixed code:
a,b = map(int,input().split())

if(a <= 8):
    if(b<=8):
        print("Yay!")
    else :
        print(":(")
else :
    print(":(")
Buggy code:
print('Yay!'if max(map(int,input().split()))<'9' else':(')

Fixed code:
print('Yay!'if max(map(int,input().split()))<9 else':(')
Buggy code:
a,b=map(int,input().split()):print('Yay!' if max(a,b)<=8 else ':(')

Fixed code:
a,b=map(int,input().split())

if a<=8 and b<=8 :
    print("Yay!")
else :
    print(":(")
Buggy code:
A, B = map(int, input().split())
if 16-min(A,B)*2 >= abs(A-B)*2+1:
    print("Yay!")
else:
    print(":(")

Fixed code:
A, B = map(int, input().split())
if 16-min(A,B)*2 >= abs(A-B)*2:
    print("Yay!")
else:
    print(":(")
Buggy code:
l=input.split()
a=int(l[0])
b=int(l[1])
if a<9 and b<9:
    print('Yay!')
else:
    print(':(')

Fixed code:
l=input().split()
a=int(l[0])
b=int(l[1])
if a<9 and b<9:
    print('Yay!')
else:
    print(':(')
Buggy code:
print(["Yay!", ":(", ":("][sum([x > 8 for x in input().split()])])

Fixed code:
print(["Yay!", ":(", ":("][sum([int(x) > 8 for x in input().split()])])
Buggy code:
x,y= map(int,input().split(" "))
if(x<=8 && y<=8) print("Yay!")
else: print(":(")

Fixed code:
x,y = map(int,input().split())
if max(x,y)<=8:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b = map(int, input().split())

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


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

Fixed code:
a ,b = map(int,input().split())
if a + b <= 16 and a <=8 and b <= 8:
  print('Yay!')
else:
  print(':(')
Buggy code:
a,b = map(int, input().split())
print("Yay" if a<9 and b<9 else ":(")

Fixed code:
a,b = map(int, input().split())
print("Yay!" if a<9 and b<9 else ":(")
Buggy code:
a,b = map(int,input().split())
if min(a,b)*2+(max(a,b)-min(a,b))*2<=16:
    print('Yey!')
else:
    print(':(')

Fixed code:
a,b = map(int,input().split())
if min(a,b)*2+(max(a,b)-min(a,b))*2<=16:
    print('Yay!')
else:
    print(':(')
Buggy code:
a, b = map(int, input().split())

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


Fixed code:
a, b = map(int, input().split())
if (a <= 8)&(b <= 8):
    print("Yay!")
else:
    print(":(")
Buggy code:
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print('Yey!')
else:
    print(':(')

Fixed code:
a,b=map(int,input().split())
if  a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b=map(int,input().split())
if  a<=8 or b<=8:
    print('Yay!')
else:
    print(':(')

Fixed code:
a,b = map(int,input().split(" "))
if a > 8 or b > 8:
  print(":(")
else:
  print("Yay!")
Buggy code:
lis = list(map(int, input().split()))
if lis[0] < 8 and lis[1] < 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
lis = list(map(int, input().split()))
if lis[0] <= 8 and lis[1] <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
A,B = map(int, input().split())
if A > 8 or B > 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
A,B = map(int, input().split())
if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
A,B=map(int,input().split())
if A<=8 and B<=8:
  print("Yey!")
else:
  print(":(")

Fixed code:
A, B = map(int, input().split())

if A<=8 and B <= 8:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b = map(int, input().split())

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

Fixed code:
a, b = list(map(int, input().split()))
print('Yay!' if (a <= 8 and b <= 8) else ':(')
Buggy code:
a,b = map(int, input().split())
if a<= 8 and b <= 8:
  print("Yay!")
else:
print(":(")

Fixed code:
a,b = map(int,input().split())

if a < 9 and b < 9:
    print("Yay!")
else:
    print(":(")
Buggy code:
a,b=map(int,input())
if a < 9 and b < 9:
  print('Yay!')
else:
  print(':(')

Fixed code:
a,b=map(int,input().split())
if a < 9 and b < 9:
  print('Yay!')
else:
  print(':(')
Buggy code:
a, b = [int(x) for x in input().split()]
if a<8 and a<8:
    print("Yay!")
else:
    print(":(")

Fixed code:
a, b = [int(x) for x in input().split()]
if a<=8 and  b<=8:
    print("Yay!")
else:
    print(":(")
Buggy code:
a=max(list(map(int,input().split()));print(':('if a>8 else'Yay!')

Fixed code:
a=max(list(map(int,input().split())));print(':('if a>8 else'Yay!')
Buggy code:
a, b = list(map(int, input().split()))

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

Fixed code:
a, b = list(map(int, input().split()))

if a < 9 and b < 9:
  print("Yay!")
else:
  print(":(")
Buggy code:
# ABC100A - Happy Birthday!
a, b = list(map(int, input().rstrip().split()))
if a > 9 or b > 9:
    print(":()")
else:
    print("Yay!")

Fixed code:
# ABC100A - Happy Birthday!
a, b = list(map(int, input().rstrip().split()))
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
a,b = list(map(int, input().split()))
if a>=8 and b>=8: print('Yay!')
else: print(':(')

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

Fixed code:
a, b = map(int, input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")
Buggy code:
A,B = map(int,input().split())
if A >= 9 or B >= 9:
    print(':(')
else:
    print('Yay')

Fixed code:
A,B = map(int,input().split())
if A >= 9 or B >= 9:
    print(':(')
else:
    print('Yay!')
Buggy code:
A,B = map(int,input().split())
if A <= 8 and B <= 8:
    print('Yay')
else:
    print(':(')

Fixed code:
A,B = map(int,input().split(" "))
# B = int(input())
if A <=8 and B <= 8:
    print("Yay!")
else:
    print(":(")
Buggy code:
a,b = map(int,input().split())
if a >= 8 and b >= 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
a,b = map(int,input().split())

if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')
Buggy code:
a,b = map(int,input())
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Fixed code:
a,b = map(int,input().split())

print(':(') if a > 8 or b > 8 else print('Yay!')
Buggy code:
a, b = map(int, input().split())

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

Fixed code:
a, b = map(int, input().split())
if max(a, b) <= 8:
  print("Yay!")
else:
  print(":(")
Buggy code:
a,b=map(int,input().split())
if a<=8 and b<=8: 
  print("Yey!")
else:
  print(":(")

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

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


Fixed code:
a, b = map(int, input().split())
if max(a, b) > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
A, B = map(int, input().split())
count = 0
for i in range(16):
  if count == 0:
    A -= 1
  else:
    B -= 1
if A <= 0 and B <= 0:
	print(Yay!)
else:
  print(:()

Fixed code:
A, B = map(int, input().split())
count = 0
for i in range(16):
  if count == 0:
    A -= 1
    count += 1
  else:
    count -= 1
    B -= 1
if A <= 0 and B <= 0:
	print('Yay!')
else:
  print(':(')
Buggy code:
a = list(map(int,input().split()))
if a[0] <=8 and a[1] <=8:
  print("Yay!")
else:
  print(:()

Fixed code:
a = list(map(int,input().split()))
if a[0] <=8 and a[1] <=8:
  print("Yay!")
else:
  print(":(")
Buggy code:
a,b = map(int,input().split())
if (a <= 8 or b <= 8):
    print("Yay!")
else:
    print(":(")

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

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

Fixed code:
a,b = map(int,input().split())
if max(a,b) > 8:
  print(":(")
else:
  print("Yay!")
Buggy code:
a,b=map(int,input().split())
print("Yay" if a<=8 and b<=8 else ":(")

Fixed code:
a, b = map(int, input().split())
if a <= 8 and b <= 8: print('Yay!')
else: print(':(')
Buggy code:
A, B = input().split(" ")
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
A , B= map(int,input().split())
if A <= 8 and B <= 8:
	print('Yay!')
else:
	print(':(')
Buggy code:
A, B = map(int, input().split())
if (A > 8) or (B >= 8):
    print(':(')
else:
    print('Yay!')


Fixed code:
A,B= map(int,input().split())
print(":(" if A>8 or B>8 else "Yay!")
Buggy code:
a,b = map(int, input().strip().split(' '))
print('Yay!' max(a,b) <= 8 else ':(')


Fixed code:
a,b = map(int, input().strip().split(' '))
print('Yay!' if max(a,b) <= 8 else ':(')