#include using namespace std; int main() { int p, q; cin >> p >> q; if (p == 1) { cout << "Impossible" << endl; return 0; } cout << "Possible" << endl; int k = q / p; cout << 3 * k * (k + 1) << endl; int x = 0, y = 0; cout << x << " " << y << endl; for (int i = 0; i < k; i++) { for (int j = 0; j < k - i; j++) { cout << x << " " << --y << endl; } for (int j = 0; j < k - i; j++) { cout << ++x << " " << y << endl; } for (int j = 0; j < k - i; j++) { cout << x << " " << ++y << endl; } for (int j = 0; j < i + 1; j++) { cout << x << " " << ++y << endl; } for (int j = 0; j < i + 1; j++) { cout << ++x << " " << y << endl; } for (int j = 0; j < i + 1; j++) { cout << x << " " << --y << endl; } } return 0; }