#include using namespace std; int main() { int a,b,c,d; cin >> a; cin >> b; cin >> c; cin >> d; if (d >= 10){ cout << "Impossible\n"; return 1; } cout << "Possible\n"; int f = 1; long score = 0; while (b >= 100){ score += 100 * 50 * f; b -= 100; f *= 2; } score += b * 50 * f; score += (100 - b) * 100 * f; a -= (100 - b); f *= 2; while (a >= 100){ score += 100 * 100 * f; a-= 100; f *= 2; } score += a * 100 * f; cout << score << "\n"; }