#32325: 為何是WA(line:5)??求解


melodyshih0824 (超萌小辣椒)


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

#32326: Re: 為何是WA(line:5)??求解


linlincaleb@gmail.com (臨末之頌)


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