#include void solve() { int a, b, c, d; std::cin >> a >> b >> c >> d; if (d >= 10) { std::cout << "Impossible" << std::endl; return; } std::cout << "Possible" << std::endl; int score = 0, combo = 0; while (b--) { score += 50 * (1 << (combo / 100)); ++combo; } while (a--) { score += 100 * (1 << (combo / 100)); ++combo; } std::cout << score << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }