#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b A){ ll L = A.size(); FOR(i, 0, L){ if(i) cout << ' '; cout << A[i]; } cout << endl; } ll ll_pow(ll a, ll n){ ll ans = 1; FOR(i, 0, n){ ans *= a; } return ans; } int main(){ cin.tie(0); ios::sync_with_stdio(false); // input ll A, B, C, D; cin >> A >> B >> C >> D; if(D>=10){ p("Impossible"); return 0; }else{ p("Possible"); } // great, perfectの順にスコア加算 ll combo = 0; ll score = 0; FOR(i, 0, B){ combo++; ll scale = ll_pow(2, (combo-1)/100); score += 50 * scale; } FOR(i, 0, A){ combo++; ll scale = ll_pow(2, (combo-1)/100); score += 100 * scale; } p(score); return 0; }