#include using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; if (d == 10) { cout << "Impossible" << endl; return 0; } int score = 0; int m = 1; int i = 0; for (; i < b; i++) { if (i % 100 == 0 && i != 0) m *= 2; score += 50 * m; } cout << i << endl; for (; i < a + b; i++) { if (i % 100 == 0 && i != 0) m *= 2; score += 100 * m; } cout << "Possible" << endl; cout << score << endl; return 0; }