#include using namespace std; #define repeat(i, x) for (int64_t i = 0; (i) < (int64_t)(x); (i)++) namespace TaskB { void solve() { int a, b, c, d; cin >> a >> b >> c >> d; if (d == 10) { cout << "Impossible" << endl; return; } cout << "Possible" << endl; vector scores; repeat (i, a) scores.push_back(100); repeat (i, b) scores.push_back(50); sort(scores.begin(), scores.end()); int ans = 0, mag = 1; repeat (i, scores.size()) { if (i > 0 and i % 100 == 0) mag *= 2; ans += scores[i] * mag; } cout << ans << endl; } } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); TaskB::solve(); return 0; }