qyliang/CodeNanoFix huggingface dataset:
Buggy code:
import sys; readline = sys.stdin.readline
from collections import deque

N = int(readline())
print((N - 1)/2)

Fixed code:
import sys; readline = sys.stdin.readline
from collections import deque

N = int(readline())
print((N - 1)//2)
Buggy code:
a = int(input())
if a%2 == 0:
    b = a/2 - 1
else: b = (a + 1)/2 - 1
print(b)

Fixed code:
a = int(input())
if a%2 == 0:
    b = a/2 - 1
else: b = (a + 1)/2 - 1
print(int(b))
Buggy code:
n = int(input())

print(n//2-not(n%2))

Fixed code:
n = int(input())

print(n//2-bool(not(n%2)))
Buggy code:
A = input()
if (int( A )%2) == 0:
    print( int(A) / 2 )
else:
    print( (int(A)-1)/2 )

Fixed code:
A = int(input())
if A % 2 == 0:
  print((A//2)-1)
else:
  print(A//2)
Buggy code:
n = int(input())
if n%2==0:
  n =  int(n/2)-1
if n%2==1:
  n = int(n/2)
print(n)

Fixed code:
n = int(input())

if n%2 == 0:
    n -= 1
    
s = n//2

print(s)
Buggy code:
a = int(input())

if a % 2 == 0:
    print(a/2 - 1)
else:
    print(a/2)

Fixed code:
a = int(input())
if a % 2 == 0:
    print(a//2-1)
else:
    print(a//2)
Buggy code:
n = int(input())
if n % 2 == 1:
    print((n + 1) / 2)
else:
    print(n / 2 - 1)

Fixed code:
n = int(input())

if n % 2 == 1 :
    n += 1

print(n // 2 - 1)
Buggy code:
n=int(input())

if n==1 or n==2:
  print(0)
elif n%2==0:
  print((n/2)-1)
else:
  print((n-1)/2)

Fixed code:
n = int(input())

if n == 1 or n == 2:
    ans = 0
elif n % 2 == 0:
    ans = (n - 2) // 2
else:
    ans = (n - 1) // 2

print(ans)
Buggy code:
n = int(input())
ans = (n/2)
if n%2==0:
    ans=ans-1
print(ans)

Fixed code:
n=int(input())

if n%2==0:
    ans=int(n/2)-1
if n%2==1:
    ans=int((n-1)/2) 


print(ans)
Buggy code:
N = int(input())
if N%2==1:
    print(int((N-1)/2))
else:
    print(int(N/2))

Fixed code:
N=int(input())
if N%2==1:
    print(round((N-1)/2))
else:
    print(round((N-2)/2))
Buggy code:
a = int(input())
print(a//2-1)

Fixed code:
a = int(input())
print((a-1)//2)
Buggy code:
print(int(input()) // 2 - 1)

Fixed code:
print( (int(input()) - 1) // 2)
Buggy code:
N = int(input())

ans = 0

if N % 2 == 0:
  print((N/2)-1)
else:
  print(int(((N-1)/2)))
  

Fixed code:
N = int(input())
ans = N//2
if N % 2 == 0:
    ans -= 1
print(ans)
Buggy code:
n=int(input())
if n%2==0:
  print((n/2)-1)
else:
  print(n//2)

Fixed code:
n = int(input())

print(n//2 - 1 if n % 2 == 0 else n//2)
Buggy code:
N=int(input())
print(N/2-1 if N%2==0 else (N-1)/2)

Fixed code:
N=int(input())
print(N//2 if N%2 else N//2-1)
Buggy code:
N = int(input())

print(N / 2 + 1)

Fixed code:
N=int(input())
print((N+1)//2-1)
Buggy code:
N = int(input())-1
print(N//2-N%2)

Fixed code:
N = int(input())

print(N // 2 - 1 + N % 2)
Buggy code:
n = int(input())
print(n-1//2)

Fixed code:

n = int(input())

print((n-1)//2)
Buggy code:
if __name__ == '__main__':
	n = int(input())
	if n % 2 == 0:
		print(n/2 - 1)
	else:
		print((n-1)/2)

Fixed code:
def main():
    n=int(input())
    if n%2==0:
        print(n//2-1)
    else:
        print((n-1)//2)
    

if __name__ == "__main__":
    main()
Buggy code:
n = int(input())

print(n - (n+1)%2)//2

Fixed code:
n=int(input())
print(n//2-(n+1)%2)
Buggy code:
n = int(input())
if n % 2:
  print(n//2-1)
else:  
  print(n//2)

Fixed code:
n = int(input())
if n% 2 == 0:
  print(n//2-1)
else:
  print(n//2)
Buggy code:
N=int(input())
if N%2==0:
    print(N//2-1)
else:
    print(N//2-1)

Fixed code:
N=int(input())
if N%2==0:
    N-=1
print(N//2)
Buggy code:
N = int(input())

print(N//2-1)

Fixed code:
N = int(input())
ans = (N-1)//2
print(ans)
Buggy code:
N=int(input())
print(rount(N/2)-1)

Fixed code:
N = int(input())

print((N - 1) // 2)
Buggy code:

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

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

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

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

if A>10|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(input().split())
if A<=9 and B<=9:
  print(int(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 <= 0 or b <= 0:
    print(-1)
elif a >= 9 or b >= 9:
    print(-1)
else:
    print(a * b)


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

if a <= 0 or b <= 0:
    print(-1)
elif a >= 10 or b >= 10:
    print(-1)
else:
    print(a * b)
Buggy code:
a, b = map(int, input().split())
if a <= 0 or a >= 10:
  print("-1")
if b <= 0 or b >= 10:
  print("-1")
print("{}".format(a*b))


Fixed code:
a, b = map(int, input().split())
if a <= 0 or a >= 10:
    print("-1")
elif b <= 0 or b >= 10:
    print("-1")
else:
    print("{}".format(a*b))
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 1 <= A <= 9 & 1 <= 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)
    else :
        print(-1)
else :
    print(-1)
Buggy code:
a, b = map(int, input().split())
if a or b >= 10:
    print(-1)
    exit()
print(a*b)


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

Fixed code:
a, b = input().split()
if (len(a) >1) or (len(b) >1):
  print(-1)
else:
  print(int(a)*int(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 (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())
L = A*B
if L > 81:
    print("-1")
else:
    print(L)

Fixed code:
A, B = map(int, input().split())
L = A*B
if L > 81 or A > 9 or B > 9:
    print("-1")
else:
    print(L)
Buggy code:
A,B = map(int,input().split())
if A > 9 or B > 0:
    print("-1")
else: 
    print(str(A * B))

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

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

Fixed code:
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 < 10 and b < 10:
  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 <10 and B<10:
	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 = 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 = 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(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:
N, M = map(int, input().split())
if 1<=N<=20 and 1<=M<=20:
  a = N*M
  print(a)
else:
  print(-1)

Fixed code:
N, M = map(int, input().split())
if 1<=N<=9 and 1<=M<=9:
  a = N*M
  print(a)
else:
  print(-1)
Buggy code:
A, B = 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())
o = -1
if A >= 10 or B>=10
    print(o)
else:
print(A*B)



Fixed code:
A,B = map(int,input().split())
o = -1
if A >= 10 or B >= 10:
    print(o)
else:
    print(A*B)
Buggy code:
a,b=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<=9) and (1<=b<=9):
    print(a * b)
else:
    print(-1)
Buggy code:
a, b = [int(i) for i in input().split()]

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

Fixed code:
a, b = [int(i) for i in 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 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())
ans = 0

if((A <= 9 )&&(B <= 9)):
  ans = A*B
else:
  ans = -1
  
print(ans)

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

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

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

def input_int():
    hoge = input().split()
    A = int(hoge[0])
    B = int(hoge[1])
    return A, B

if __name__ == "__main__":
    A, B = input_int()
    if A <=10 and B <= 10:
        ret = A * B
    else:
        ret = -1
    print(ret)



Fixed code:

def input_int():
    hoge = input().split()
    A = int(hoge[0])
    B = int(hoge[1])
    return A, B

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

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

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

N_list = []

for i in range(1,10):
    for j in range(1,10):
        N_list.append(i*j)
A_B = list(map(int, input().split()))
s = A_B[0]*A_B[1]
if A_B[0] < 10 & A_B[1] < 10:    
    if s in N_list:
        print(s)
    else :
        print("-1")
else :
    print("-1")


Fixed code:

N_list = []

for i in range(1,10):
    for j in range(1,10):
        N_list.append(i*j)
A_B = list(map(int, input().split()))
if A_B[0] < 10 and A_B[1] < 10:
    s = A_B[0]*A_B[1]
    if s in N_list:
        print(s)
    else :
        print("-1")
else :
    print("-1")
Buggy code:
A, B = 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<=9 and B<=9: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 len(A)>1 or len(B)>1:
  print("-1")
else:
  print(A*B)

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


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

Fixed code:
A = list(map(int,input().split(" ")))
if max(A) > 9:
	print("-1")
else:
	print(str(A[0] * A[1]))
Buggy code:
from collections import *
from math import *
n,p = map(int,input().split())
if(n >= 9 and p >= 9):
    print(n*p)
else:
    print(-1)

Fixed code:
from collections import *
from math import *
n,p = map(int,input().split())
if(n <= 9 and p <= 9):
    print(n*p)
else:
    print(-1)
Buggy code:
A,B = map(int,input().split())
print(A*B) if A >=9 and B >=9 else print('-1')

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

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

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

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

Fixed code:
#ABC144A
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())
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=input().split()

if len(a)>=2 or len(b)>=2:
  print("-1")
else:
  print(a*b)

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

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

valid = range(1, 10)
if a in valid and b in valid:
  print(a*b)
else:
  print(-1)

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

valid = range(1, 10)
if a in valid and b in valid:
    print(a*b)
else:
    print(-1)
Buggy code:
a,b=map(int,input().split())
if (a>10 or b>10 or b<=0 or a<=0) :
    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 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 = list(map(int, input().split()))
 
if a[0]>=10 or a[1]>=10:
  return -1
else:
  return 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 = 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().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 or b > 9:
    print(-1)
else:
    print(a*b)

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

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

if a < 10 or 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 and b <= 9:
  return a * b
else:
  return -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 1<=A<=9:
        if 1<=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:
x = input().split()
a = int(x[0])
b = int(x[0])
if a <= 9 and b <= 9:
  print(a * b)
else:
  print('-1')

Fixed code:
x = input().split()
a = int(x[0])
b = int(x[1])
if a <= 9 and b <= 9:
  print(a * b)
else:
  print('-1')
Buggy code:
def main():
    A, B = map(int,input().split())
    print( A * B if (A % 10 == 0) & (B % 10 == 0) else -1) 
    return 0
    
if __name__ == '__main__':
    main()

Fixed code:
def main():
    A, B = map(int,input().split())
    print( A * B if (A // 10 == 0) & (B // 10 == 0) else -1) 
    return 0
    
if __name__ == '__main__':
    main()
Buggy code:
A, B = map(int,input().split())
ans = 1 if (1 <= A <= 9) and (1 <= 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:
a = list(map(int, input().split()))

print(a[0]*a[1] if a[0],a[1]<=9 else -1)

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

print(a[0]*a[1] if a[0] <= 9 and a[1] <= 9 else -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())
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 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().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().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:
def resolve():
    A, B = map(int,input().split())
    if A<10 and B<10:
        C = int(A*B)
    else:
        C = -1
    print(C)

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

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

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

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

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

if a <= 9:
    print(-1)
elif 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 a in range(1, 10) and a in range(1, 10):
  print(a * b)
else:
  print(-1)


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

Fixed code:
a, b = [int(i) for i in 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 > 9 or b > 9:
  print(-1)
else:
  out = a * b
  print('{0}'.format(out))

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

if a > 9 or b > 9:
	print("-1")
else:
	out = a * b
	print('{0}'.format(out))
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 A , 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:
n,m=map(int,input().split())
if n<10 && m<10 :
  print(n*m)
else :
  print(-1)


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

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

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

if A*B>81 or A>9 or B>9 :
    print(-1)
else:
    print(A*B)
Buggy code:
a, b = map(int, input().split())
if(a>9 or b>9):
  print('-1')
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(9.split()))
if 0 < a < 10 and 0 < b < 10:
  print(a * b)
else:
  print(-1)

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

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

if a <= 9 and b <= 0:
  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 < 10 or 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 = 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 >= 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 = (int(x) for x in input().split())
if a >=1 and a <=9:
  if b >= 1 and b <= 9:
    s = a*b
    print(s)
else:
  print(-1)

Fixed code:
a,b = (int(x) for x in input().split())
if a >=1 and a <=9:
  if b >= 1 and b <= 9:
    s = a*b
    print(s)
  else:
    print(-1)
else:
    print(-1)
Buggy code:
import sys

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

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

Fixed code:
import sys

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

if A > 9 or 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 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:
  	return a*b
else:
  return -1

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