#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int main() //d039
{
long long int x,y,z;
while(cin>>x>>y)
{ if(x==0&&y==0)
cout<<"Ok!";
else if(x!=0&&y==0)
cout<<"Impossib1e!";
else if(x%y==0)
cout<<"Ok!";
else
cout<<"Impossib1e!";
cout<<endl;
}
return 0;
}