#include "bits/stdc++.h" using namespace std; #define FOR(i,j,k) for(int (i)=(j);(i)<(int)(k);++(i)) #define rep(i,j) FOR(i,0,j) #define each(x,y) for(auto &(x):(y)) #define mp make_pair #define mt make_tuple #define all(x) (x).begin(),(x).end() #define debug(x) cout<<#x<<": "<<(x)< pii; typedef vector vi; typedef vector vll; int f(int n, int m) { if (m > 3) { return 1; } else if (m == 3) { if (n == 3)return 0; else return 1; } else if (m == 2 || m == 1) { return 1; } else { if (n <= 2)return 0; else return 1; } } int main(){ ios::sync_with_stdio(false); cin.tie(0); int n, m; while (cin >> n >> m) { cout << (f(n, m) ? "Possible" : "Impossible") << endl; } }