#include <iostream>
#include <stdlib.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n,k;
while(cin>>n>>k)
{
if(n==0 || n>=k && k>0 && n%k==0) cout<<"Ok!\n";
else cout<<"Impossib1e!\n";
}
return 0;
}