#include using namespace std; #ifdef local #include "debugger.hpp" #else #define debug(...) #endif int main(void) { ios::sync_with_stdio(false); cin.tie(nullptr); constexpr char endl = '\n'; string h, s; cin >> h >> s; int num1 = h.back() - '0', num2 = s.back() - '0'; string ans = "Possible"; if (num1 % 2 != num2 % 2) ans = "Impossible"; cout << ans << endl; return 0; }