qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A, B = map(int, input().split())
print("Possible" if ((A) % 3 == 0 or (B) % 3 == 0) else "Impossible")

Fixed code:
A, B = map(int, input().split())
print("Possible" if ((A) % 3 == 0 or (B) % 3 == 0 or (A + B) % 3 == 0) else "Impossible")
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0 or (a+b)%3==0:
    print("Possible")
else:
    print("Impossible")a,b=int(input())
if a%3==0 or b%3==0 or (a+b)%3==0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
a,b = map(int, input().split())
if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
A,B=map(int,input().split());print(("Possible","Impossible")[min([A%3,B%3,(A+B)%3])]

Fixed code:
A,B=map(int,input().split());print(("Possible","Impossible")[min([A%3,B%3,(A+B)%3])])
Buggy code:
a,b=map(int,input().split())
if a%3 ==0:
  print('Possible')
elif b%3 ==0:
  print('Possible')
elif (a+b)%3 ==0:
  print('Possible')
else
  print('Impossible')

Fixed code:
a,b = map(int,input().split())
if(a%3==0 or b%3==0 or (a+b)%3==0):
    print("Possible")
else:
    print("Impossible")
Buggy code:
a, b = [int(i) for i in input().split()]
if a % 3 == 0 or b % 3 == 0 or a + b % 3 == 0:
    print("Possible")
else:
    print("Imposible")

Fixed code:
a, b = [int(i) for i in input().split()]
if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
A,B = map(int,input().split())
if (A % 3 == 0 or B % 3 == 0):
  print('Possible')
else:
  if ((A+B) % 3 == 0):
    print('Posssible')
  else:
    print('Impossible')

Fixed code:
A, B=map(int,input().split())
if A%3==0 or B%3==0 or (A+B)%3==0:
    print ('Possible')
else:
    print ('Impossible')
Buggy code:
def biscoitos():
    A, B = map(int,input().split())
    soma = A+B
    if A%3 == 0:
        print('Possible')
    elif B%3 == 0:
        print ('Possible')
    elif soma%3 == 0:
        print('Possible')
    else:
        print('Impossible')

Fixed code:
A, B = map(int,input().split())
soma = A+B
if A%3 == 0:
    print('Possible')
elif B%3 == 0:
    print ('Possible')
elif soma%3 == 0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
A,B=map(int,input().split())
num=(A*B)%3
if num==0:
  print('Possible')
else:
  print('Impossible')

Fixed code:
A,B=map(int,input().split())
num=(A*B*(A+B))%3
if num==0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
a,b = map(int,input().split())

if a%3 == 0 or b%3 == 0 or (a*b)%3 == 0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
a, b = map(int, input().split())
if (a + b) % 3 == 0 or a % 3 == 0 or b % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
x,y = map(int,input().split())
if (x+y)%3==0 or x%3==0 or y%3==0:
	print("Possible")
else:
	print("Inpossible")


Fixed code:
x,y = map(int,input().split())
if (x+y)%3==0 or x%3==0 or y%3==0:
	print("Possible")
else:
	print("Impossible")
Buggy code:
# -*- coding: utf-8 -*-
A,B = map(int,input().split())
if (A % 3==0) or (B % 3==0) or (A+B % 3==0):
  print("Possible")
else:
  print("Impossible")

Fixed code:
# -*- coding: utf-8 -*-
A,B = map(int,input().split())
if (A % 3==0) or (B % 3==0) or ((A+B) % 3==0):
  print("Possible")
else:
  print("Impossible")
Buggy code:
A,B= list(map(int,input().split()))


if (A+B%3)==0 or A%3==0 or B%3==0:
    print("Possible")
else:
    print("Impossibl")

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


if (A+B)%3==0 or A%3==0 or B%3==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b=map(int,input().split())
print('Possible') if a+b>=3 and (a%3==0 or b%3==0) else print('Impossible')

Fixed code:
a, b = map(int, input().split())
print("Possible" if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0 else "Impossible")
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0: or (a+b)%3==0:
    print ('Possible')
else:
    print('Impossible')

Fixed code:
a,b = map(int,input().split())
if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
N, K = map(int, input().split())
pint("Possible" if N*K*(N+K)%3==0 else "Impossible")

Fixed code:
N, K = map(int, input().split())
print("Possible" if N*K*(N+K)%3==0 else "Impossible")
Buggy code:
num = list(map(int, input().split()))
a = num[0]
b = num[1]
c = num[2]

if a%3 == 0 or b%3 == 0 or (a+b) %3 ==0 :
	print('Possible')
else:
	print('Impossible')
	

Fixed code:
num = list(map(int, input().split()))
a = num[0]
b = num[1]

if a%3 == 0 or b%3 == 0 or (a+b) %3 ==0 :
	print('Possible')
else:
	print('Impossible')
Buggy code:
a,b=list(map(int,input().split(" ")))
if a+b==3 or a==3 or b==3:
  print('Possible')
else:
  print('Impossible')

Fixed code:
a,b=list(map(int,input().split(" ")))
if (a+b)%3==0 or a%3==0 or b%3==0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
a,b = map(int,input().split())
#print(a,b)
c = 0
if a/3 == 0 or b/3 == 0 or (a+b)/3 ==0:
    print('Possible')
else:
    print('Impossible')


Fixed code:
a,b = map(int,input().split())
#print(a,b)
#c = 0
if a%3 == 0 or b%3 == 0 or (a+b)%3 ==0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
# coding: utf-8
# Here your code !

x=input()
a=int(x.split(" ")[0])
b=int(x.split(" ")[1])
if (a%3 or b%3 or (a+b)%3):
    print ("Possible")
else:
    print ("Impossible")



Fixed code:
# coding: utf-8
# Here your code !
 
x=input()
a=int(x.split(" ")[0])
b=int(x.split(" ")[1])
if (a%3==0 or b%3==0 or (a+b)%3==0):
    print ("Possible")
else:
    print ("Impossible")
Buggy code:
a,b = map(int,input().split())
if a%3==0:
    print("Possible")
elif b%3==0:
    print("Possible")
elif a+b%3==0:
    print("Possible")
else:
    print("Impossible")

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

if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b = map(int,input())
if a%3==0 or b%3==0 or (a+b)%3==0:
    print('Possible')
else:
    print('Impossible')

Fixed code:
a, b = map(int, input().split())
if a%3==0 or b%3==0 or (a+b)%3==0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
A,B = map(input().split())

if A%3==0 or B%3==0 or (A+B)%3==0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
A,B = map(int,input().split(" "))
if (A % 3 == 0) or (B % 3 == 0) or ((A+B)%3==0):
    print("Possible")
else:
    print("Impossible")
Buggy code:
A= int(input().split())
if A[0] % 3 == 0 or A[1] % 3 == 0 or (A[0] + A[1]) % 3 == 0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
A= (input().split())
if int(A[0]) % 3 == 0 or int(A[1]) % 3 == 0 or (int(A[0]) + int(A[1])) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
from sys import stdin
a, b = [int(x) for x in stdin.readline().rstrip().split()]
if (a+b)/3:
  print('Possible')
else:
  print('Impossible')
from sys import stdin
a, b = [int(x) for x in stdin.readline().rstrip().split()]
if (a+b)%3 == 0:
  print('Possible')
else:
  print('Impossible')


Fixed code:
from sys import stdin
a, b = [int(x) for x in stdin.readline().rstrip().split()]

if a%3==0 or b%3==0 or (a+b)%3==0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
a, b = map(int, input().split())
print("Possible" if a+b%3 == 0 or a%3==0 or b%3==0 else "Impossible")

Fixed code:
a, b = map(int,input().split())
print("Possible" if(a+b)%3==0 or a%3==0 or b%3==0 else "Impossible")
Buggy code:
a,b=(int(x) for x in input().split())
c = ( a + b ) % 3
if (c == '0'):
    print (Possible)
else:
    print(Impossible)

Fixed code:
a,b=(int(x) for x in input().split())
c = ( a + b ) % 3
if ((int(a) % 3)  == 0 or  (int(b) % 3)  == 0 or int(c) == 0):
    print ( 'Possible' )
else:
    print ( 'Impossible' )
Buggy code:
A,B =map(int,input().split())
if A%3==0 or B%3==0 or (A+B)%3==0 :
    print("Possible")
else:
    print("Impossile")


Fixed code:
A, B = map(int, input().split())
if A%3 == 0 or B%3 == 0 or (A+B)%3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
A,B =map(int,input().split())
count = 0
if A%3==0:
    print("Possible")
    count += 1
if B%3==0:
    print("Possible")
    count += 1
if (A+B)%3==0 :
    print("Possible")
    count += 1
if count == 0:
    print("Impossile")


Fixed code:
A,B =map(int,input().split())
count = 0
if A%3==0:
    print("Possible")
    count += 1
if B%3==0:
    if count == 0:
        print("Possible")
        count += 1
if (A+B)%3==0 :
    if count == 0:
        print("Possible")
        count += 1
if count == 0:
    print("Impossible")
Buggy code:
a, b = map(int, input().split())
if a%3==0 or b%3==0 or (a+b)%==0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
a,b=map(int,input().split())
x = a%3==0 or b%3==0 or (a+b)%3==0
print('Possible'if x else'Impossible')
Buggy code:
# -*- coding: utf-8 -*-
"""
Created on Thu May 14 12:29:30 2020

@author: shinba
"""

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

if a % 3 == 0:
    print("Yes")
elif b % 3 == 0:
    print("Yes")
elif (a+b) % 3 == 0:
    print("Yes")
else:
    print("No")


Fixed code:
# -*- coding: utf-8 -*-
"""
Created on Thu May 14 12:29:30 2020

@author: shinba
"""

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

if a % 3 == 0:
    print("Possible")
elif b % 3 == 0:
    print("Possible")
elif (a+b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
A,B=map(int,input().split())
print(["Possible","Impossible][bool(A*B*(A+B))])

Fixed code:
A,B=map(int,input().split())
print(["Possible","Impossible"][bool(A*B*(A+B)%3)])
Buggy code:
a,b,c=map(int,input().split())
print(['Impossible','Possible'][a%3==0 or b%3==0 or (a+b)%3==0])

Fixed code:
a,b = map(int,input().split())
print(['Impossible','Possible'][a%3 == 0 or b%3 == 0 or (a+b) %3 == 0])
Buggy code:
A, B = map(int, input().split())
if A % 3 or B % 3 or (A+B) % 3 == 0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
A, B = map(int, input().split())
 
if A%3 == 0 or B%3 == 0 or (A+B)%3 == 0:
  r = "Possible"
else:
  r = "Impossible"

print(r)
Buggy code:
a, b = map(int,input().split())
if a % 3 == 0 or b % 3 == 0 or a+b % 3 == 0:
    print("Possible")
else:
    print("Impossible")


Fixed code:
a, b = map(int, input().split())
if (((a + b) % 3 == 0) | (a % 3 == 0) | (b % 3 == 0)):
    print("Possible")
else:
    print("Impossible")
Buggy code:
A, B = map(int, input().split())
if a % 3 or b % 3 or (A+B) % 3 == 0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
A, B = map(int, input().split())
if A % 3 == 0 or B % 3 == 0 or (A+B) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b = map(int,input().split())
if a%3==0 or b%==0 or(a+b)%3==0:
  print("Possible")
else:
  print("Impossible")

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

if a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
a, b= map(int, input().split())
x = False
for i in [a, b, a+b]:
  if i%3 == 0:
    x = True
print("Possible" if x else "Impossible"

Fixed code:
a, b= map(int, input().split())
x = False
for i in [a, b, a+b]:
  if i%3 == 0:
    x = True
print("Possible" if x else "Impossible")
Buggy code:
A,B = map(int,input().split())

if A % 3 == 0 or B % 3 == 0 or A + B % 3 == 0:
    print('Possible')
else:
    print('Impossible')

Fixed code:
A,B = list(map(int,input().split(" ")))
if (A+B)%3==0 or A%3==0 or B%3==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a, b = map(int, input().split())
if a + b % 3 == 0 or a % 3 == 0 or b % 3 == 0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
a,b = list(map(int, input().split()))
if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a, b = int(input().split())

if (a + b) % 3 == 0:
  print(Possible)
else:
  print(Impossible)

Fixed code:
a,b=input().split()
a=int(a)
b=int(b)
if ((a+b)%3)==0:
  print("Possible")
else:
  if (a%3)==0:
    print("Possible")
  else:
    if (b%3)==0:
      print("Possible")
    else:
      print("Impossible")
Buggy code:
a,b=[int(i) for i in input().split()]
if a%3==0 and b%3==0 and (a+b)%3==0:
  print('Impossible')
else:
  print('Possible')

Fixed code:
a,b=[int(i) for i in input().split()]
if a%3==0 or b%3==0 or (a+b)%3==0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
a, b = map(int, input().split())

if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
    print("Possible")
else:
    print("Inpossible")

Fixed code:
a, b = map(int, input().split())
if (a%3 == 0) or (b%3 == 0) or ((a+b)%3 == 0):
    print("Possible")
else:
    print("Impossible")
Buggy code:
a=list(map(int,input().split()))
if a[0]%3==0 or a[1]%3==0 or a[0]+a[1]%3==0:
    print('Possible')
else:
    print('Impossible')

Fixed code:
a=list(map(int,input().split()))
if a[0]%3==0 or a[1]%3==0 or (a[0]+a[1])%3==0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
A,B = map(int,input().split())

A_B = ((A+B)%3)

if A_B == 0:
    print("Possible")
else:
    ("Impossible")



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

if (A+B) % 3 == 0 or A % 3 == 0 or B % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
(a, b) = (int(tok) for tok in input().split())
print("Possible" if any(s % 3 == 0 for s in [a, b, a + b] else "Impossible")

Fixed code:
(a, b) = (int(tok) for tok in input().split())
print("Possible" if any(s % 3 == 0 for s in [a, b, a + b]) else "Impossible")
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0 (a+b)%3==0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
a,b = map(int, input().split())
a,b,c = a%3,b%3,(a+b)%3
if a == 0 or b == 0 or c == 0:
  print("Possible")
else:
  print("Impossible")
Buggy code:
a,b=map(int,input().split())

print('Possible' if a%3==0 or b%3==0 or (a+b)%3 else "Impossible")

Fixed code:
a, b = map(int, input().split())
print("Possible" if (a*b*(a+b))%3==0 else "Impossible")
Buggy code:
a, b = map(int, input().split())
print('Impossible' if a % 3 or b % 3 or a + b % 3 else 'Possible')

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

if a%3==0 or b%3==0 or (a+b)%3==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b=map(int,input().split())
if a+b%3==0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
a,b = map(int,input().split())
print('Possible' if a*b*(a+b)%3==0 else 'Impossible')
Buggy code:
A,B = map(int, input().split())
if A % 3 == 0 or B % 3 == 0 or A + B % 3 ==0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
A, B = map(int, input().split())
if A % 3 == 0 or B % 3 == 0 or (A+B) % 3 == 0:
  print('Possible')
else:
  print('Impossible')
Buggy code:
A,B = map(int,input().split())
if A % 3 == 0:
    print("Possible")
elif B % 3 == 0:
    print("Possible")
elif (A + B) % 3 == 0:
    print("Possible")
else:
    print("Inpossible")

Fixed code:
A,B = map(int,input().split())
if A % 3 == 0:
    print("Possible")
elif B % 3 == 0:
    print("Possible")
elif (A + B) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a, b = map(int, input().split())
if not (a % 3) * (b % 3) * ((a + b) % 3) :
    print("Posiible")
else: 
    print("Impossible")

Fixed code:
a, b = map(int, input().split())
if not (a % 3) * (b % 3) * ((a + b) % 3) :
    print("Possible")
else: 
    print("Impossible")
Buggy code:
a, b = map(int, input().split())

if a % 3 == 0 or b % 3 == 0 or (a*b) % == 0 :
  print("Possible")
else:
  print("Impossible")

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

if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0 :
  print("Possible")
else:
  print("Impossible")
Buggy code:
a,b = map(int,input().split())

if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:
  print('Possible')
else:
  pritn('Impossible')

Fixed code:
a, b = map(int, input().split())
print('Possible' if (a + b) % 3 == 0  or a % 3 == 0 or b % 3 == 0 else 'Impossible')
Buggy code:
a,b = map(int,input().split())
if a%3==0 | b%3==0 | (a+b)%3==0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
a, b = map(int, input().split())
if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
	print('Possible')
else:
	print('Impossible')
Buggy code:
A,B = map(int,input().split())
if A % 3 ==0 or B % 3 ==0 or (A+B) % 3 ==0:
    print("Possibe")
else:
    print("Impossible")


Fixed code:
A,B = map(int,input().split())
if A % 3 ==0 or B % 3 ==0 or (A+B) % 3 ==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b=map(int,input().split())

if a % 3 != 0 and b % 3 != 0 and a+b % 3 != 0:
	print('Impossible')
else:
	print('Possible')

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

if a % 3 != 0 and b % 3 != 0 and (a+b) % 3 != 0:
	print('Impossible')
else:
	print('Possible')
Buggy code:
a,b = map(int, input().split())

print("Possible" if a%3==0 or b%3==0 or a+b%3==0 else "Impossible")

Fixed code:
a, b = map(int, input().split())
print('Possible' if not a % 3 or not b % 3 or not (a + b) % 3 else "Impossible")
Buggy code:
a,b=map(int,input().split())

if a % 3 != 0 or b % 3 != 0 or a+b % 3 != 0:
	print('Impossible')
else:
	print('Possible')

Fixed code:
a, b = map(int,input().split())
if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 ==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
x = input().split(" ")
a = int(x[0])
b = int(x[1])

if (a % 3 == 0 | b % 3 == 0 | (a+b) % 3 == 0 ):
    print("Possible")
else:
    print("Impossible")

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

if ((a % 3 == 0) or (b % 3 == 0) or ((a+b) % 3 == 0) ):
    print("Possible")
else:
    print("Impossible")
Buggy code:
l = list(map(int, input().split()))

if l[0] % 3 == 0:
    print("Possible")
elif l[1] % 3 == 0:
    print("Possible")
elif l[0]+l[1] % 3 == 0:
    print("Possible")
else:
    print("Impossible")


Fixed code:
l = list(map(int, input().split()))
a = l[0]+l[1]

if l[0] % 3 == 0:
    print("Possible")
elif l[1] % 3 == 0:
    print("Possible")
elif a % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b = [int(x) for x in input().split()]
print('Possible' (a+b)%3 == 0 else 'Impossible')

Fixed code:
a,b = [int(x) for x in input().split()]
print('Possible' if a%3 == 0 or b%3 == 0 or (a+b)%3 == 0 else 'Impossible')
Buggy code:
a,b = list(map(int, input().split()))
if a%3 ==0 or b%3==0 or a+b%3==0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
a,b = list(map(int, input().split()))
if a%3 ==0 or b%3==0 or (a+b)%3==0:
  print("Possible")
else:
  print("Impossible")
Buggy code:
def solution(a, b):
    total = a + b
    if total % 3 == 0:
        print('Possible')
    elif a % 3 == 0:
        print('Possible')
    elif:
        b % 3 == 0:
        print('Possible')
    else:
        print('Impossible')

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

solution(A, B)

Fixed code:
def solution(a, b):
    total = a + b
    if total % 3 == 0:
        print('Possible')
    elif a % 3 == 0:
        print('Possible')
    elif b % 3 == 0:
        print('Possible')
    else:
        print('Impossible')

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

solution(A, B)
Buggy code:
import sys

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

if a % 3 == 0 or b % 3 == 0 or a + b % 3 == 0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
import sys

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

if a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b =map(int,input().split())
if (a+b)%3==0 and a%3==0 and b%3==0:
	print("Possible")
else :
	print("Impossible")

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

if a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:
    print("Possible")
else:
    print("Impossible")
Buggy code:

a,b=map(int,input().split())
if(a%3==0 or b%3==0 or (a+b)%3==0):
    print("possible")

else:
    print("Impossible")
    






        
        


Fixed code:

a,b=map(int,input().split())
if(a%3==0 or b%3==0 or (a+b)%3==0):
    print("Possible")

else:
    print("Impossible")
Buggy code:
f=lambda(x):x%3==0
a,b=map(int,input().split())
print(['Impossible','Possible'][f(a)or f(b)or f(a+b)])

Fixed code:
f=lambda x:x%3==0
a,b=map(int,input().split())
print(['Impossible','Possible'][f(a)or f(b)or f(a+b)])
Buggy code:
A,B=map(int,input().split())
if A%3==0 pr B%3==0 or (A+B)%3==0:
    print("Possible")
else:
    print("Impossible")


Fixed code:

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

if (A % 3 == 0) or (B % 3 == 0) or ((A+B) % 3 == 0):
    print("Possible")
else:
    print("Impossible")
Buggy code:
A, B = input.split()
n = int(A) + int(B)
if n % 3 == 0:
    print(Possible)
else:
    print(Impossible)

Fixed code:
A, B = input().split()
A, B = int(A), int(B)
n = int(A) + int(B)
if A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:
    print('Possible')
else:
    print('Impossible')
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0 or a*b%3==0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
a, b = map(int, input().split())
x = (a % 3) * (b % 3)
if x == 0 or x == 2:
    print('Possible')
else:
    print('Impossible')
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0 or a+b%3==0:
    print("Possible")
else:
    print("Impossible")

Fixed code:
a,b=map(int,input().split())
print("Possible" if a%3==0 or b%3==0 or (a+b)%3==0 else "Impossible")
Buggy code:
A, B = map(int, input().split())

if A % 3 == 0 or B % 3 == 0 or A + B % 3 == 0:
  print("Possible")
else:
  print("Impossible")

Fixed code:
A,B = map(int, input().split())
if A%3==0 or B%3==0 or (A+B)%3==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
def resolve():
    a, b = map(int, input().split())
    print("Possible") if any([True for i in [a, b, a + b] if i % 3 == 0]) else "Impossible"


if __name__ == "__main__":
    resolve()


Fixed code:
def resolve():
    a, b = map(int, input().split())
    print("Possible") if any([True for i in [a, b, a + b] if i % 3 == 0]) else print("Impossible")


if __name__ == "__main__":
    resolve()
Buggy code:
a, b = map(int, input().split())

if not (a+b % 3 or a % 3 or b % 3):
  print('Impossible')
else:
  print('Possible')

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

if not (a+b) % 3 or not a % 3 or not b % 3:
  print('Possible')
else:
  print('Impossible')

#if not a % 3:
#  print('Impossible')
#elif not b % 3:
#  print('Impossible')
#elif not a+b % 3:
#  print('Impossible')
#else:
#  print('Possible')
Buggy code:
a, b = map(int, input().split())

if a+b % 3:
  print('Impossible')
  
else:
  print('Possible')

Fixed code:
a,b=map(int,input().split())
print("Impossible" if a%3 and b%3 and (a+b)%3 else "Possible")
Buggy code:
n, m = list(map(int, input().split()))
print('Possible' if n%3 or m%3 or (n+m)%3 else 'Impossible')

Fixed code:
n, m = list(map(int, input().split()))
print('Impossible' if n%3 and m%3 and (n+m)%3 else 'Possible')
Buggy code:
#-*-coding:utf-8-*-

def main():
    a, b = map(int, input().split())

    if a + b % 3 == 0:
        print('Possible')
    else:
        print('Impossible')

if __name__ == '__main__':
    main()

Fixed code:
#-*-coding:utf-8-*-

def main():
    a, b = map(int, input().split())

    if (a + b) % 3 == 0 or a % 3 == 0 or b % 3 == 0:
        print('Possible')
    else:
        print('Impossible')

if __name__ == '__main__':
    main()
Buggy code:
A,B = map(int,input().split())
if A or B or A + B == 3:
  print("Possible")
else:
  print("Impossible")

Fixed code:
A,B = map(int,input().split())
if (A%3==0) or (B%3==0) or ((A+B)%3==0):
   print("Possible")
else:
   print("Impossible")
Buggy code:
A,B=map(int,input().split())
print('Possible' for (A+B)%3==0 or A%3==0 or B%3==0 else 'Impossible')


Fixed code:
A,B=map(int,input().split())
print('Possible' if (A+B)%3==0 or A%3==0 or B%3==0 else 'Impossible')
Buggy code:
a,b=map(int,input().split())
if a%3==0 or b%3==0 or a+b%3==0:
  print("Possible")
else:
  print("Impossible")

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

if a%3==0 or b%3==0 or (a+b)%3==0:
    print("Possible")
else:
    print("Impossible")
Buggy code:
a,b=map(int,input().split())
print(["Possible","Impossible"][a%3==b%3 and a%3==1 or a%3==2]

Fixed code:
a,b=map(int,input().split())
print(["Possible","Impossible"][a%3==b%3 and (a%3==1 or a%3==2)])