#include using namespace std; int main() { string S,H; cin>>S>>H; int a=S.back()-'0',b=H.back()-'0'; cout<<((a-b)%2?"Imp":"P")<<"ossible"<