#include <iostream>
#include <string>
using namespace std;
int main() {
	int A, B, C, D;
	cin >> A >> B >> C >> D;
	int score = 0;
	int conbo = 0;
	int bonus = 1;
	if (D >= 10)cout << "Impossible" << endl;
	if (D < 10) {
		for (int i = 0; i < C; i++) {
			
		}
		for (int i = 0; i < B; i++) {
			score += 50 * bonus;
			conbo++;
			if (conbo % 100 == 0)bonus = bonus * 2;
		}
		for (int i = 0; i < A; i++) {
			score += 100 * bonus;
			conbo++;
			if (conbo % 100 == 0)bonus = bonus * 2;
		}
		if (D >= 10)cout << "Possible" << endl;
	}
	cout << score << endl;
	return 0;
}