#include using namespace std; int main(){ string H, S; cin >> H >> S; if ((H.back() - '0') % 2 == (S.back() - '0') % 2){ cout << "Possible" << endl; } else { cout << "Impossible" << endl; } }