#include using namespace std; typedef long long ll; int main(){ int a, b, c, d, e, ans; cin >> a >> b >> c >> d; if (d == 10) cout << "Impossible" << endl; else{ cout << "Possible" << endl; e = a + b; ans = 0; for(int i = 0; i < 8; i++){ c = min(100, e); ans += pow(2,i)*100*c; e -= c; } for(int i = 0; i < 8; i++){ c = min(100, b); ans -= pow(2,i)*50*c; b -= c; } cout << ans << endl; } return 0; }