#include using namespace std; int main(){ string h,s; cin>>h>>s; int hh=h.back()-'0',ss=s.back()-'0'; if(hh%2==ss%2) cout<<"Possible\n"; else cout<<"Impossible\n"; }