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())
print('Yay!' if A > 8 or B > 8 else ':(')

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

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

Fixed code:
a,b = map(int, input().split())
 
if a + b <= 16:
  if a <= 8 and b <= 8:
    print('Yay!')
  else:
    print(':(')
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())

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

Fixed code:
a = list(map(int, input().split()))
if max(a) <= 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:
num = list(map(int,input()
.split()))
if num[0]>num[1]:
    bignum = num[0]
else :
    bignum = num[1]

if  bignum <= 8:
    print('Yey!')
else :
    print(':(')

Fixed code:
num = list(map(int,input()
.split()))
if num[0]>num[1]:
    bignum = num[0]
else :
    bignum = num[1]

if  bignum <= 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:
    print(":(")
elif 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())
print('Yay!') if a <= 8 and b <= 8 else print(":(")
Buggy code:
a, b = [int(i) for i in input().split(' ')]

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


Fixed code:
a, b = [int(i) for i in input().split(' ')]

if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
# n = int(input())
a, b = map(int, input().split())
# c = list(map(int, input().split()))
# d = [list(map(int, input().split())) for _ in range(n)]
# s = input()

ans = "Yey!"

if a <= 8 and b <= 8:
    ans ="Yey!"
else:
    ans = ":("

print(ans)

Fixed code:
# n = int(input())
a, b = map(int, input().split())
# c = list(map(int, input().split()))
# d = [list(map(int, input().split())) for _ in range(n)]
# s = input()


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

print(ans)
Buggy code:
a,b = map(int,input().split())
print(':(' if a > 8 or b > 8 '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 <= 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>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().split())

if a < 9 & 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 & 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 = map(int,input().split())
print(":(") if A>8 or B>8 else print("Yay!")
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 max(a,b)>8:
    print(":(")
else:
    print("Yay!")
Buggy code:
A, B = list(map(int,input().strip().split(' ')))
if A < 8 and B < 8:
    print('Yay!')
else:
    print(':(')

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

Fixed code:
a,b =map(int, input().split())
if 9>a and 9>b:
    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 a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')
Buggy code:
#coding : utf-8

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

Fixed code:
#coding : utf-8

if __name__ == "__main__":
    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  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 > 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 < 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 = map(int, input().split())
if A > 8 or B >  :
  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 && 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:
#100

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

Fixed code:
#100

A, B = map(int, input().rstrip().split())
if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
#coding:utf-8

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

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

Fixed code:
#coding:utf-8

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

if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")
Buggy code:
(a, b) = [int(i) for i in input().split()]
if a > 7 or b > 7:
    print(":(")
else:
    print("Yay!")


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

Fixed code:
a,b = map(int,input().split())
if max([a,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<9 and B<9:
    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:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

if list1_0 < 8:
    print("Yay!")
if list1_1 < 8:
    print("Yay!")
else:
    print(":(")

Fixed code:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

if list1_0 > 8 or list1_1 > 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 = (int (x) for x in input ().split ())
if a<=8 and b<=8:
  print ('Yey!')
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:
# input
A, B = map(int, input().input())

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

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

if A >= 9 or B >= 9:
    print(':(')
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 <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

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 <= 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 max(a, 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:
# -*- coding: utf-8 -*-
A,B=map(int,input().split)
if A <= 8 and B <= 8:
  print(Yay!)
else:
  print(:()

Fixed code:
# -*- coding: utf-8 -*-
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 = (int(i) for i in input().split())
a = int(input())
b = int(input())

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


Fixed code:
a, b = (int(i) for i in 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(':(')
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 >= 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())
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 = 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 or b > 8:
	print(':(')
else:
	print('Yey!')

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

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

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

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

Fixed code:

A,B= list(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 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, raw_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 = [int i for i in input().split()]
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

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

if N<=8 and M<= 8:
  print("Yay!")
else:
  print(":(")

Fixed code:
N,M = map(int,input().split())

if N<=8 and M<= 8:
  print("Yay!")
else:
  print(":(")
Buggy code:
l = input().split()
a = int(l[0])
b  int(l[1])
if (a>8) or (b>8):
    print(":(")
else:
    print("Yay!")


Fixed code:
l = input().split()
a = int(l[0])
b = int(l[1])
if (a>8) or (b>8):
    print(":(")
else:
    print("Yay!")
Buggy code:
def LI():
	return [ int(s) for s in input().split() ]
  
a,b = LI()

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

Fixed code:
def LI():
	return [ int(s) for s in input().split() ]
  
a,b = LI()
 
print('Yay!') if a <= 8 and b <= 8 else print(':(')
Buggy code:
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)

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

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

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

Fixed code:
A, B = [int(i) for i in input().split()]

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

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

Fixed code:
n_str = input()
a_str, b_str = n_str.split()
a = int(a_str)
b = int(b_str)

if a <= 8:
    if b <= 8:
        print('Yay!')
    else:
        print(':(')
elif a > 8:
    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 = [ int(v) for v in input().split() ]

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

Fixed code:
a, b = [ int(v) for v in 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 and b <= 8:
    print('Yay!')
else:
    print(':(')
Buggy code:
from sys import stdin, stdout
from math import sqrt
from collections import defaultdict
#t = int(stdin.readline().strip())
#R, L, C, Vin = [float(x) for x in stdin.readline().strip().split()]
A = int(stdin.readline().strip())
B = int(stdin.readline().strip())
print("Yay!" if (A <= 8 and B <= 8) else ":(")


Fixed code:
from sys import stdin, stdout
from math import sqrt
from collections import defaultdict
#t = int(stdin.readline().strip())
#R, L, C, Vin = [float(x) for x in stdin.readline().strip().split()]
A, B = [int(x) for x in stdin.readline().strip().split()]
print("Yay!" if (A <= 8 and B <= 8) else ":(")
Buggy code:
a, b = map(int, input().split())

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

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

if (a<=8) and (b<=8):
    ans = 'Yay!'
else:
    ans = ':('
print(ans)
Buggy code:
import sys

def solve(a, b):
    if  a <= 8 and b <= 8 :
        return 'yay'
    else:
        return ':('
    
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()

Fixed code:
import sys

def solve(a, b):
    if  a <= 8 and b <= 8 :
        return 'Yay!'
    else:
        return ':('
    
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()
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:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 998244353
dd = [(0,-1),(1,0),(0,1),(-1,0)]
ddn = [(0,-1),(1,-1),(1,0),(1,1),(0,1),(-1,-1),(-1,0),(-1,1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    a,b = LI()
    if a+b <= 16:
        return 'Yay!'
    return ':('


print(main())



Fixed code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 998244353
dd = [(0,-1),(1,0),(0,1),(-1,0)]
ddn = [(0,-1),(1,-1),(1,0),(1,1),(0,1),(-1,-1),(-1,0),(-1,1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    a,b = LI()
    if a+b <= 16 and a < 9 and b < 9:
        return 'Yay!'
    return ':('


print(main())
Buggy code:
a,b = map(int, input().split())

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

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

if a > 8:
    print(':(')
    exit()
if b > 8:
    print(':(')
    exit()
print('Yay!')
Buggy code:
print(
  "Yay!"
  if all(lambda x: x <= 8,      
         map(int, input().split())
        )
  else ":("
)

Fixed code:
print(
  "Yay!"
  if all(map(
    lambda x: x <= 8,      
    map(int, input().split())
  ))
  else ":("
)
Buggy code:
a, b = list(map(int(input().rstrip())))
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 or B > 8:
  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 < 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=[int(i) for i in input().split()]
if A<=8 and B<=8:
    print("Yay")
else:
    print(":(")

Fixed code:
A,B=[int(i) for i in 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 = 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:
N, M = map(int,input().split())
if N <= 8 and M <= 8:
  print("Yay!")
else:
  print(":)")

Fixed code:
N, M = map(int,input().split())
if N <= 8 and M <= 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())

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

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(":(")
elif a <= 8 and b <= 8:
    print("Yay")

Fixed code:
a, b = map(int, input().split())
if a >= 9 or b >= 9:
    print(":(")

elif a <= 8 and b <= 8:
    print("Yay!")
Buggy code:
import sys

a, b = map(int, sys.stdin.readline())

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

Fixed code:
import sys

a, b = map(int, sys.stdin.readline().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 <= 8) & (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:
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:
A, B = (int(i) for i in input().split())
if A =< 8 and B =< 8:
  print('yay!')
else:
  print(':(')

Fixed code:
A, B = (int(i) for i in 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 and B <= 8 else print(": (")


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

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

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

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

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

c = a + b

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


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

c = a + b

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

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 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=map(int,input().split())
print("Yay!" if A<9 and B<9 else ":(")

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())
maximum = 8

if a+b <= 16 and (a <= maximum or b <= maximum):
    print("Yay!")
else:
    print(":(")


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

if a+b <= 16 and a <= maximum and b <= maximum:
    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 = list(map(int, input().split()))
if(A > 8 or B > 8):
    print(':(')
else:
    print('Yey!')


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

Fixed code:
if 8 >= max(map(int, input().split())):
    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!")