while True:
try:
n,k=map(int,input().split())
if n!=0 and k==0:
print("Impossib1e!")
elif n==0 and k==0:
print("Ok!")
else:
if n>0 and k>0 and n%k==0:
print("Ok!")
else:
print("Impossib1e!")
except:
break
while True:
try:
n,k=map(int,input().split())
if n!=0 and k==0:
print("Impossib1e!")
elif n==0 and k==0:
print("Ok!")
else:
if n>0 and k>0 and n%k==0:
print("Ok!")
else:
print("Impossib1e!")
except:
break
n=0 k!=0