#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; int main() { int a, b, c, d; cin >> a >> b >> c >> d; if (d < 10) { cout << "Possible" << endl; int ans = 0; rep(i, b) ans += 50 * (1 << (i / 100)); rep(i, a) ans += 100 * (1 << ((b + i) / 100)); cout << ans << endl; } else { cout << "Impossible" << endl; } return 0; }