#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int a, b, c, d; cin >> a >> b >> c >> d; if (d >= 10) cout << "Impossible" << endl; else { cout << "Possible" << endl; int score = 0; int base = 1; int combo = 0; REP (i, b) { if (combo > 0 && combo % 100 == 0) base *= 2; score += 50 * base; ++combo; } REP (i, a) { if (combo > 0 && combo % 100 == 0) base *= 2; score += 100 * base; ++combo; } cout << score << endl; } return 0; }