qyliang/CodeNanoFix huggingface dataset:
Buggy code:
a,b = map(int,input().split())

if a < 9 and b < 9:
  print(a*b)
else:
  print(-1)

Fixed code:
a,b = map(int,input().split())
if 1 <=  a and a <= 9:
  if 1 <= b and b <= 9:
    print(a*b)
    exit()
print(-1)
Buggy code:
a,b=map(int,input().split())
if max(a,b)>9:
  print('-1')
else:
  print(a＊b)

Fixed code:
a,b=map(int,input().split())
if max(a,b)>9:
  print('-1')
else:
  print(a*b)
Buggy code:
a,b = map(int,input().split())

if a > 9 and b >9:
  print(-1)
else:
  print(a*b)

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

if a <= 9 and b <= 9:
  print(a*b)
else:
  print(-1)
Buggy code:
a, b = map(int,input().split())
 
if 1<=a=<9 and 1<=b<=9:
  print(a*b)
else:
  print(-1)

Fixed code:
a,b=map(int,input().split())
if a<10 and b<10:
    print(a*b)
else:
    print(-1)
Buggy code:
a, b = map(int,input().split())
 
if 1<=a=<9 and 1<=b<=9:
  print(a*b)
else:
  pritn("-1")

Fixed code:
a, b = map(int, input().split())
if 1<=a<=9 and 1<=b<=9:
    print(a*b)
else :
    print(-1)
Buggy code:
a, b = map(int,input().split())

if 1<=a=<9,1<=b<=9:
  print(a*b)
else:
  pritn("-1")

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

if 1 <= a <= 9 and 1<= b <= 9:
    print(a*b)
else:
    print("-1")
Buggy code:
A,B=map(int,input().split())
if A<=9 and B<=9:
    print("A*B")
else:
    print("-1")

Fixed code:
A, B = map(int, input().split())
print(A*B if 1 <= A <= 9 and 1 <= B <= 9 else '-1')
Buggy code:
def main():
    A, B = map(int, input().split())
    if A <=10 and B <=10:
        p = A * B
        print(p)
    else:
        print(p)
main()

Fixed code:
def main():
    A, B = map(int, input().split())
    if A < 10 and B < 10:
        p = A * B
        print(p)
    else:
        print(-1)
main()
Buggy code:
A,B=map(int,input(),split())
if 1<=A<=9 and 1<=B<=9:
    print(A*B)
else:
    print(-1)


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

if (1 <= A <= 9) and (1 <= B <= 9):
    print(A*B)
    
else:
    print(-1)
Buggy code:
A,B = map(int(input()))
if(A >= 10 or B >= 10):
    print(-1)
else:
    print(A*B)

Fixed code:
A,B = map(int,input().split())
if(A >= 10 or B >= 10):
    print(-1)
else:
    print(A*B)
Buggy code:
    x, y = map(int, input().split())
    if 0 < x < 10 and 0 < y < 10:
        print(x * y)
    else:
        print(-1)

Fixed code:
x, y = map(int, input().split())
if 0 < x < 10 and 0 < y < 10:
    print(x * y)
else:
    print(-1)
Buggy code:
A, B = map( int, inpuot().split() )
if A < 10 and B < 10 :
   print( A * B )
else : 
   print( -1 )  

Fixed code:
A, B = map( int, input().split() )
if A < 10 and B < 10 :
   print( A * B )
else : 
   print( -1 )
Buggy code:
a.b = list(map(int, input().split( )))
if 1 <= a <= 9 and 1 <= b <= 9:
  print(a*b)
else:
  print(-1)
  

Fixed code:
a, b=map(int, input().split())
if a>=1 and b>=1 and a<=9 and b<=9:
    print(a*b)
else:
    print(-1)
Buggy code:
a,b=map(int,input().split())
if a<10&&b<10:
	print(a*b)
else:
	print(-1)

Fixed code:
a,b=map(int,input().split())
if a<10 and b<10:
	print(a*b)
else:
	print(-1)
Buggy code:
q,b=map(int,input().split())

if a>=1 and a<=9 and b>=1 and b<=9:
  print(a*b)
else:
  print(-1)

Fixed code:
a ,b  = list(map(int,input().split()))
if((a >= 1 and a<=9)and(b >= 1 and b<=9)):
    print(int(a*b))
else:
    print(-1)
Buggy code:
a, b = map(int, input().split())
if a>=10 and b>=10:
    print(-1)
else:
    print(a*b)

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

if a >= 10 or b >= 10:
    print(-1)
else:
    print(a * b)
Buggy code:
a, b = map(int input().split())
if a // 10 == 0 and b // 10:
  print(a*b)
else:
  print(-1)

Fixed code:
a, b = map(int, input().split())
if a/10 < 1 and b/10 < 1:
    print(a*b)
else:
    print(-1)
Buggy code:
a,b = map(input().split())
if a > 9 or b > 9:
  print(-1)
  exit()
print(a*b)

Fixed code:
a,b = map(int,input().split())
if a > 9 or b > 9:
  print(-1)
  exit()
print(a*b)
Buggy code:

from sys import stdin

A, B = [int(x) for x in stdin.readline().rstrip().split()]
ans = A*B
if ans<1 or ans>81:
    ans = -1

print(ans)


Fixed code:

from sys import stdin

A, B = [int(x) for x in stdin.readline().rstrip().split()]
if A<1 or A>9 or B<1 or B>9:
    ans = -1
else:
    ans = A*B

print(ans)
Buggy code:
A, B = map(int, input().split())

if A // 10 == 0 or B // 10 == 0:
  print(-1)
else:
  print(A * B)

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

if A // 10 != 0 or B // 10 != 0:
  print(-1)
else:
  print(A * B)
Buggy code:
a,b=list(map(input().split()))
if a>9 or b>9:
  print("-1")
else:
  print(a*b)

Fixed code:
a,b=list(map(int,input().split()))
if a>9 or b>9:
  print("-1")
else:
  print(a*b)
Buggy code:
a,b=map(int,input().split())
if a or b >9:
  print(-1)
else:
  print(a*b)


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

if a < 1 or a > 9:
    print(-1)
elif b < 1 or b > 9:
    print(-1)
else:
    print(a * b)
Buggy code:
a,b = map(int,input().split())

if 1<a<9 and 1<b<9:
  print(a*b)
else:
  print(-1)

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

if 1<=a<=9 and 1<=b<=9:
  print(a*b)
else:
  print(-1)
Buggy code:
a,b = map(int,input().split())

print(a*b if 1<=a<=10 and 1<=b<=10 else -1)

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

print(a*b if 1<=a<=9 and 1<=b<=9 else -1)
Buggy code:
a,b=map(int,input().split())
if a<0 and a>9:
  print(-1)
elif b<0 and b>9:
  print(-1)
else:
  print(a*b)

Fixed code:
a,b=map(int,input().split())
if a<0 or a>9:
  print(-1)
elif b<0 or b>9:
  print(-1)
else:
  print(a*b)
Buggy code:
a,b=map(int,intpu().split())
if a<10 and b<10:
  print(a*b)
else:
  print('-1')

Fixed code:
a,b = map(int,input().split())
if(a<10 and b<10):
  print(a*b)
else:
  print("-1")
Buggy code:
a,b=map(int, input().split())
if (a<=9 & b<=9):
  print(a*b)
else:
  print("-1")


Fixed code:
a,b=map(int, input().split())
if (a<=9 and b<=9):
  print(a*b)
else:
  print("-1")
Buggy code:
A, B= [int(i) for i in input().split()]

if A>=10orB>=10:
  print(-1)
else:
  print(A*B)
 

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

if A>=10 or B>=10:
  print(-1)
else:
  print(A*B)
Buggy code:
A,B = map(int,input(),split())

if A <10 and B < 10:
	print(A*B)
else:
	print('-1')
	
	

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

if A <10 and B < 10:
	print(A*B)
else:
	print('-1')
Buggy code:
a,b=map(int,input().split())
if (a>10 or b>10):
    print(-1)
else:
    print(a*b)


Fixed code:
a,b = map(int,input().split())
if a > 9 or b > 9:
    print(-1)
else:
    print(a * b)
Buggy code:
# coding: utf-8
a, b = map(int, input().split())
ans = -1
if a < 10 and b < 10:
    ams = a * b
print(ans)


Fixed code:
# coding: utf-8
a, b = map(int, input().split())
ans = -1
if a < 10 and b < 10:
    ans = a * b
print(ans)
Buggy code:
A, B = map(int, input().split())

if A > 9 and B > 9:
	print(-1)
else:
	print(A*B)

Fixed code:
A,B=map(int,input().split())
if 1<= A <=9 and 1<= B <=9:
  print(A*B)
else: print(-1)
Buggy code:
import sys
 
input = sys.stdin.readline().split()
result = 1
for n in input:
  n=int(n)
  if n<10:
    result = result * n
    
  else:
    print('-1')
print(result)

Fixed code:
import sys
 
input = sys.stdin.readline().split()
result = 1
for n in input:
  n=int(n)
  if result==-1:
    break
  if n<10:
    result = result * n
  else:
    result=-1
print(result)
Buggy code:
L,R = map(int,input().split())

if L <=10 or R <= 10:
    print(-1)
else:
    print(L*R)

Fixed code:
L,R = map(int,input().split())

if L >= 10 or R >= 10 or L < 1 or R < 1:
    print(-1)
else:
    print(L*R)
Buggy code:

A,B = (int(x) for x in input().split())
if A >=10 or B >:
	print(-1)
else:
    print(A*B)


Fixed code:
A,B=(int(x) for x in input().split())
if A>=10 or B>=10:
    print(-1)
else:
    print(A*B)
Buggy code:
A,B = input().split(' ')
A = int(A)
B = int(B)

if A<9 and B<9:
	print(A*B)
else:
	print(-1)


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

if 1 <= A <= 9 and 1<= B <= 9:
    print(A * B)
else:
    print("-1")
Buggy code:
a, b = map(int, input())
if a <= 9 and b <= 9:
    ans = a * b
else:
    ans = -1

print(ans)
    

Fixed code:
a, b = map(int, input().split())
if a <= 9 and b <= 9:
    ans = a * b
else:
    ans = -1

print(ans)
Buggy code:
A = [int(x) for x in input().split()]
a=A[0]
b=A[1]
if a>9 | b>9:
    print(-1)
else:
    print(a*b)


Fixed code:
A = [int(x) for x in input().split()]
a=A[0]
b=A[1]
if a>9 or b>9:
    print(-1)
else:
    print(a*b)
Buggy code:
a,b = map(int,input().split)

def solve(a,b):
  if a<=9 and b<=9:
    return a * b
  else:
    return -1
  
print(solve(a,b))

Fixed code:
a,b = map(int,input().split())
     
def solve(a,b):
  if a<=9 and b<=9:
    return a * b
  else:
    return -1
  
print(solve(a,b))
Buggy code:
a, b = map(int, input().split())

if 0 <= a <= 9 and 0 <= b <= 0:
  print(a * b)
else:
  print(-1)


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

if 0 <= a <= 9 and 0 <= b <= 9:
  print(a * b)
else:
  print(-1)
Buggy code:
i = list(map(int, input().split()))
if 0 <= i[0] and i[0] <= 9 and 0 <= i[1] and i[1] <= 9:
  return i[0] * i[1]
else:
  return -1


Fixed code:
i = list(map(int, input().split()))
if 1 <= i[0] <= 9 and 1 <= i[1] <= 9:
  print(i[0] * i[1])
else:
  print(-1)
Buggy code:
n,m = list(map(int,input().split))
if 0 < n < 10 and 0 < m < 10 :
  print(n*m)
else :
  print(-1)
  

Fixed code:
n,m = list(map(int,input().split()))
if 0 < n < 10 and 0 < m < 10 :
  print(n*m)
else :
  print(-1)
Buggy code:
a, b = map(int, input().split())
ans = a*b if a<=9 ans b<=9 else -1
print(ans)

Fixed code:
a, b = map(int, input().split())
ans = a*b if 1 <= a <= 9 and 1 <= b <= 9 else -1
print(ans)
Buggy code:
inp=input().split()
A=int(inp[0])
B=int(inp[1])
if A < 10 or B < 10:
  print(str(A*B))
else:
  print("-1")

Fixed code:
inp=input().split()
A=int(inp[0])
B=int(inp[1])
if A < 10 and B < 10:
  print(str(A*B))
else:
  print("-1")
Buggy code:
a,b = map(int,input())
if a<=9 and b<=9:
    print(a*b)
else:
    print(-1)

Fixed code:
a,b = map(int,input().split())
if((1<= a and a<=9) and (1<=b and b<=9)):
    print(a*b)
else:
    print(-1)
Buggy code:
A,B = map(int,input().split())

if A >= 10 and B >= 10:
    print(-1)
else:
    print(A*B)

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

if A >= 10 or B >= 10:
    print(-1)
else:
    print(A*B)
Buggy code:
usrInput = input()
splitedInput = usrInput.split()
clearFlag = []

for i in range(2):
    if int(splitedInput[i]) < 10:
        clearFlag.append(False)
    else:
        clearFlag.append(True)

if bool(clearFlag[0]) == True & bool(clearFlag[1]) == True:
    print(int(splitedInput[0]) * int(splitedInput[1]))
else:
    print(-1)

Fixed code:
usrInput = input()
splitedInput = usrInput.split()
clearFlag = []

for i in range(2):
    if int(splitedInput[i]) < 10:
        clearFlag.append(True)
    else:
        clearFlag.append(False)

if bool(clearFlag[0]) == True and bool(clearFlag[1]) == True:
    print(int(splitedInput[0]) * int(splitedInput[1]))
else:
    print(-1)
Buggy code:
A,B = map(int,input().split())
if A < 10 or A > 0:
  C = A * B
else:
  C = -1
if B < 10 or B > 0:
  C = A * B
else:
  C = -1
print(C)

Fixed code:
A,B = map(int,input().split())
if A < 10 and A > 0 and B < 10 and B > 0:
  C = A * B
else:
  C = -1

print(C)
Buggy code:
A,B=[int(x) for x in input().rstrip().split()]
if 1<A*B:
  print(A*B)
else:
  print(-1)

Fixed code:
A,B=[int(x) for x in input().rstrip().split()]
if 1<=A and A<=9 and 1<=B and B<=9:
  print(A*B)
else:
  print(-1)
Buggy code:
A, B = map(int.input().split())
if (0<=A<=9) and (0<=B<=9):
  print(A*B)
else:
  print(-1)

Fixed code:
A,B = map(int,input().split())
if A <= 9 and B <= 9:
    print(A*B)
else:
    print(-1)
Buggy code:
A,B=map(int,input().split())
if A<10:
  print(A*B)
elif B<10:
  print(A*B)
else:
  print('-1')

Fixed code:
A,B=map(int,input().split())
if A<10and B<10:
  print(A*B)
else:
  print('-1')
Buggy code:
a, b = map(int, input().split())
if (a or b) > 9:
    print(-1)
else:
    print(a * b)

Fixed code:
a, b = map(int, input().split())
if max(a, b) > 9:
    print(-1)
else:
    print(a * b)
Buggy code:
A, B = map(int, input().split())

if A < 10 and B < 10:
  print(A*B)
  else:
    print(-1)

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

if A<=9 and B<=9:
  print(A*B)
else:
  print(-1)
Buggy code:
a,b = map(int,input().split())
if a<10&b<10:
  print(a*b)
else:
  print(-1)

Fixed code:
a, b = map(int,input().split())
if a < 10 and b < 10:
    print(a * b)
else: print(-1)
Buggy code:
A,B = map(int,input().split())

if A =< 9:
  if B =< 9:
    x = A*B
  else x = -1
else x = -1

print(x)
		

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

if A <= 9:
  if B <= 9:
    x = A*B
  else:
    x = -1
else:
  x = -1

print(x)
Buggy code:
A, B = input().split(" ")
A = int(A)
B = int(B)

if A > 0 & A < 10:
    if B > 0 & B < 10:
        print(A * B)
    else:
        print(-1)
else:
    print(-1)


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

if (0 < A) & (A < 10):
    if (0 < B) & (B < 10):
        print(A * B)
    else:
        print(-1)
else:
    print(-1)
Buggy code:
a, b = map(int, input().split())

if a >= 10 and b >= 10:
    print('-1')
else:
    answer = a * b
    print(answer)

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

if a >= 10 or b >= 10:
    print('-1')
else:
    answer = a * b
    print(answer)
Buggy code:
inp = input()
a = inp.split(" ")[0]
b = inp.split(" ")[1]
if(len(a)==1 and len(b)==1):
  print(int(a)*int(b))

Fixed code:
inp = input()
a = inp.split(" ")[0]
b = inp.split(" ")[1]
if(len(a)==1 and len(b)==1):
  print(int(a)*int(b))
else:
  print("-1")
Buggy code:
A, B = list(map(int, input().split()))
if A < 9 and B < 9 :
	print(A * B)
else :
	print(-1)

Fixed code:
A, B = list(map(int, input().split()))
if A <= 9 and B <= 9 :
	print(A * B)
else :
	print(-1)
Buggy code:
line = [int(i) for i in input.split()]
v1 = line[0]
v2 = line[1]

if 0 < v1 and v1 < 10 and 0 < v2 and v2 < 10 :
  print(v1*v2)
else:
  print(str(-1))

Fixed code:
line = [int(i) for i in input().split(" ")]
v1 = line[0]
v2 = line[1]

if 0 < v1 and v1 < 10 and 0 < v2 and v2 < 10 :
  print(str(v1*v2))
else:
  print("-1")
Buggy code:
[A, B] = list(map(int, input().split()))
N = [i for i in range(1, 9)]
if A in N and B in N:
    print(A*B)
else:
    print(-1)


Fixed code:
[A, B] = list(map(int, input().split()))
N = [i for i in range(1, 10)]
if A in N and B in N:
    print(A*B)
else:
    print(-1)
Buggy code:
a,b=map(int, input().split())

if ((a<9) & (b<9)):
    print(a*b)
else:
    print(-1)


Fixed code:
a,b=map(int, input().split())
 
if ((a<=9) & (b<=9)):
    print(a*b)
else:
    print(-1)
Buggy code:
a, b = map(int(), input().split())

if a < 10 and b < 10:
    print(a * b)
else:
    print(-1)

Fixed code:
a,b=list(map(int,input().split()))
if a <10 and b <10 :
  print(a*b)
else:
  print(-1)
Buggy code:
a,b=map(int,input().split())
if a<10 and b<10:
  print(a＊b)
else:
  print('-1')

Fixed code:
a,b=map(int,input().split())
if a<10 and b<10:
	print(a*b)
else:
	print("-1")
Buggy code:
a,b=map(int,input().split())
if 1<=a>=9 and 1<=b>=9:
  print(a*b)
else:
  print(-1)

Fixed code:
a,b=map(int,input().split())
if 1<=a<=9 and 1<=b<=9:
  print(a*b)
else:
  print("-1")
Buggy code:
a,b=map(int,input().split())
if a>=9 and b>=9:
  print(a*b)
else:
  print(-1)

Fixed code:
a,b = map(int,input().split())
if a > 9 or b > 9:
	print(-1)
else:
	print(a*b)
Buggy code:
#coding:utf-8
a, b = map(int, input())

if a >= 10 or b >= 10:
    print(-1)
else:
    print(a*b)

Fixed code:
#coding:utf-8
a, b = map(int, input().split())

if a >= 10 or b >= 10:
    print(-1)
else:
    print(a*b)
Buggy code:
a,b=map(int,input().split())
print(a,b)
if 0<a<10 and 0<b<10:
  c=a*b
  print(c)
else:
    print(-1) 

Fixed code:
a,b=map(int,input().split())
if 0<a<10 and 0<b<10:
  c=a*b
  print(c)
else:
    print(-1)
Buggy code:
# -*- coding: utf-8 -*-
"""
Created on Wed Nov  6 21:44:44 2019

@author: over-
"""

A,B=map(int,input().split())
if A>10 and B>10:
    print(A*B)
else:
    print(-1)
    

Fixed code:
# -*- coding: utf-8 -*-
"""
Created on Wed Nov  6 21:44:44 2019

@author: over-
"""

A,B=map(int,input().split())
if A<10 and B<10:
    print(A*B)
else:
    print(-1)
Buggy code:
num = [ int(v) for v in input().split() ]
print( i[0]*i[1] if all([ 1 <= i < 10 for i in num ]) else -1 )

Fixed code:
num = [ int(v) for v in input().split() ]
print( num[0]*num[1] if all([ 1 <= i < 10 for i in num ]) else -1 )
Buggy code:
A, B = map(int, input().split())
if A>=9 or B>=9:
  print(-1)
else:
  print(A*B)


Fixed code:
A, B = map(int, input().split())
if A>=10 or B>=10:
  print(-1)
else:
  print(A*B)
Buggy code:
a = list(map(int,input().split()))
if a[0] >= 10 or a[1] >= 10:
  print('-1')
else:
  print('a[0] * a[1]') 

Fixed code:
a = list(map(int,input().split()))
if a[0] >= 10 or a[1] >= 10:
  print('-1')
else:
  print(a[0] * a[1])
Buggy code:
A, B = map(int, input().split())
if A>=9 or B>=0:
  print(-1)
else:
  print(A*B)

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

if A > 9 or  B > 9:
    print(-1)
else:
    print(A*B)
Buggy code:
from sys import stdin

A, B = [int(x) for x in stdin.readline().rstrip().split()]

if A*B <= 81:
    print(A*B)
else:
    print(-1)


Fixed code:
from sys import stdin

A, B = [int(x) for x in stdin.readline().rstrip().split()]

if A<=9 and B <= 9:
    print(A*B)
else:
    print(-1)
Buggy code:
a,b=map(int(),input.split())
if a>9 or b>9 :
  print(-1)
else:
  print(a*b)

Fixed code:
a,b=map(int,input().split())
if a>9 or b>9 :
    print(-1)
else:
    print(a*b)
Buggy code:
A, B = map(int, input().split())

if A > 10 or B > 10:
    print(-1)
else:
    print(A*B)


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

if A >= 10 or B >= 10:
    print(-1)
else:
    print(A*B)
Buggy code:
a, b = map(int, input())
if 1 <= a <= 9 and 1 <= b <= 9:
    print(a*b)
else:
    print(-1)

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

if a <= 9 and b <= 9 :
  print(a*b)
else:
  print(-1)
Buggy code:
A,B=map(int,input().split())
print(A*B) if(A < 1 or A > 9 or B < 1 or B > 9) else print(-1)

Fixed code:
A,B=map(int,input().split())
print(-1) if(A < 1 or A > 9 or B < 1 or B > 9) else print(A*B)
Buggy code:
a,b=list(map(int,raw_input().split(' ')))
if(a>=1 and a<=9 and b>=1 and b<=9):
  print(a*b)
else:
  print(-1)

Fixed code:
a,b=list(map(int,input().split(' ')))
if(a>=1 and a<=9 and b>=1 and b<=9):
  print(a*b)
else:
  print(-1)
Buggy code:
a,b=map(int, input().split)
if 1<=a<=9 and 1<=b<=9:
  print("a*b")
else:
  print("-1")

Fixed code:
a, b = map(int, input().split())
print(a * b if 1 <= a <= 9 and 1 <= b <= 9 else -1)
Buggy code:
A,B=map(int,input().split())
if len(A)==1 and len(B)==1:
  print(A*B)
else:
  print("-1")

Fixed code:
A,B=map(str,input().split())
if len(A)==1 and len(B)==1:
    print(int(A)*int(B))
else:
    print("-1")
Buggy code:
a,b=map(int, input().split())
if 1<=a<=9, 1<=b<=9:
  print("a*b")
else:
  print("-1")

Fixed code:
a,b=map(int, input().split())
if a<=9 and b<=9:
  print(a*b)
else:
  print("-1")
Buggy code:
a,b=map(int,input().split())
if a>=10 or b>=10:
  print("-1")
else:
  print("a*b")

Fixed code:
a,b = map(int,input().split())
if a > 9 or b > 9:
  print("-1")
else:
  print(a*b)
Buggy code:
x,y = list(map(int,input().split()))
if x < 10 and y < 10:
	print(x*y)
    exit()
else:
  print('-1')


Fixed code:
x,y = list(map(int,input().split()))
if x < 10 and y < 10:
	print(x*y)
else:
  print('-1')
Buggy code:
import sys
input = sys.stdin.readline

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

print(-1) if A > 10 or B > 10 else print(A * B)

Fixed code:
import sys
input = sys.stdin.readline

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

print(-1) if A > 9 or B > 9 else print(A * B)
Buggy code:
a,b=map(int,input().split())
print(-1 if a>9 or b>10 else a*b)

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

if (a > 9) or (b > 9):
    print(-1)
else:
    print(a*b)
Buggy code:
number = list(map(int, input().split()))
#print(number[0])
#print(number[1])

if 1 <= number[0] and number[0] <= 9:
  if 1 <= number[1] and number[1] <= 9:
    print(number[0] * number[1])
else:
  print('-1')

Fixed code:
number = list(map(int, input().split()))
#print(number[0])
#print(number[1])

if 1 <= number[0] and number[0] <= 9:
  if 1 <= number[1] and number[1] <= 9:
    print(number[0] * number[1])
  else:
    print('-1')
else:
  print('-1')
Buggy code:
a,b=map(int,input().split())
if a or b >= 10:
  print(-1)
else:
  print(a*b)
  

Fixed code:
a, b = map(int, input().split())
if (a > 9 or b > 9):
    print(-1)
else:
    print(a * b)
Buggy code:
    a,b=map(int,input().split())
    if a<9 and b<9:
      print(a*b)
    else:
		print(-1)
      

Fixed code:
a,b=map(int, input().split())
if a<10 and b<10:
	print(a*b)
else:
	print(-1)
Buggy code:
A, B = map(int, input().split())
if 1 <= A & A <= 9 & 1 <= B & B <= 9:
    print(A*B)
else:
     print (-1)



Fixed code:
A, B = map(int, input().split())
if 1 <= A <= 9 and 1 <= B <= 9:
    print(A*B)
else:
     print (-1)
Buggy code:
a,b = map(int, input().split())
if a <= 1 and a <= 9 and b <= 1 and b <= 9:
    print(a*b)
else:
    print(-1)


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

if(a<=9 and b<=9):
  print(a*b)
else:
  print(-1)
Buggy code:
x , y = map(int , input(). split())
if x < 11 and y < 11 :
    print(x * y)
else:
    print(-1)

Fixed code:
x , y = map(int , input(). split())
if x < 10 and y < 10 :
    print(x * y)
else:
    print(-1)
Buggy code:
s = input().split()
A = int(s[0])
B = int(s[1])
if A <=20 and B<=20 and A>=1 and B >=1:
  multiple = A*B
else:
  multiple = -1
print(multiple)

Fixed code:
s = input().split()
A = int(s[0])
B = int(s[1])
if A <= 9 and B<= 9 and A >= 1 and B >= 1:
  multiple = A*B
else:
  multiple = -1
print(multiple)
Buggy code:
a,b = int(x) for x in input().split()
if a > 0 and a < 10:
    if b > 0 and b < 10:
        print(a*b)
     else:
         print(-1)
else:
    print(-1)

Fixed code:
a,b = (int(x) for x in input().split())
if a > 0 and a < 10:
    if b > 0 and b < 10:
        print(a*b)
    else:
         print(-1)
else:
    print(-1)
Buggy code:
A,B = map(int,input().split())
if A < 9 and B < 9:
    print( A * B )
else:
    print('-1')

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

if A<=9 and B<=9:
  print(A*B)
else:
  print(-1)
Buggy code:
a,b = map(int, input.split())

if a>9 and b>9:
    print(-1)
else:
    print(a*b)

Fixed code:
a,b = map(int,input().split())
if a > 9 or b > 9:
  print(-1)
else:
  print(a * b)
Buggy code:
a, b = int(input().split())

if a < 10 and b < 10:
    print(a * b)
else:
    print(-1)



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

if a < 10 and b < 10:
  print(a * b)
else:
  print(-1)
Buggy code:
A,B = map(int(input().split()))
if A>0 and A<10 and B>0 and B<10:
	print(A*B)
else:
	print(-1)

Fixed code:
A,B = map(int,input().split())
if A>0 and A<10 and B>0 and B<10:
	print(A*B)
else:
	print(-1)
Buggy code:
n,m=map(int, input().split())
if(n>9 or m>10):
    print(-1)
else:
    print(m*n)

Fixed code:
n,m=map(int, input().split())
if(n>9 or m>9):
    print("-1")
else:
    print(m*n)
Buggy code:
A, B = map(int, input().split())
print(A*B if A*B <= 9*9 else -1)

Fixed code:
A,B = map(int,input().split())
print(A*B if 1<=A<=9 and 1<=B<=9 else -1)
Buggy code:
a,b=map(int input().split())
if a<10 and b<10:
    print(a*b)
else:
    print(-1)

Fixed code:
a,b=map(int,input().split())
if a<10 and b<10:
  print(a*b)
else:
  print("-1")
Buggy code:
a, b = map(int, input().split())
if 1 <= a <= 9 and 1 <= a <= 9:
    print(a*b)
else:
    print(-1)

Fixed code:
a, b = map(int, input().split())
if a<10 and b<10:
    print(a*b)
else:
    print(-1)
Buggy code:
A, B = map(int, raw_input().split())
if A > 9 or B > 9:
  print (-1)
else:
  print(A*B)

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

if A > 9 or B > 9:
  print(-1)
else:print(A * B)
Buggy code:
A,B=map(int,input().split())
print(A*B if 1<=A<=9 and 1<=B<=9 else "–1")

Fixed code:
A, B = map(int, input().split())
print(A*B if 1 <= A <= 9 and 1 <= B <= 9 else "-1")
Buggy code:
a, b = map(int, input().split())
if a > 10 or b > 10:
  print(-1)
else:
  print(a*b)

Fixed code:
a,b = list(map(int,input().split()))
if a >=10 or b >=10:
  print(-1)
else:
  print(a*b)
Buggy code:
a,b=map(int,input().split())
if a <= 9 and b <= 9:
    pritn(a*b)
else:
    print(-1)

Fixed code:
a, b = map(int,input().split())
if 1 <= a <= 9 and 1<=b<=9:
  print(a*b)
else:
  print(-1)
Buggy code:
A,B = map(int, input().split())

if 1 <=A,B >= 9:
    print(A*B)
else:
    print(-1)
    

Fixed code:
A,B = map(int,input().split())
if 1<=A<=9 and 1<=B<=9:
  print(A*B)
else:print(-1)