#include <bits/stdc++.h>
using namespace std;

int main()
{
	int a, b, c, d;
	cin >> a >> b >> c >> d;
	if (d == 10)
	{
		cout << "Impossible" << endl;
		return 0;
	}
	cout << "Possible" << endl;
	int score = 0;
	for (int i = 0; i < a + b; i++)
	{
		if (i < b)
		{
			score += (50 << (i / 100));
		}
		else
		{
			score += (100 << (i / 100));
		}
	}
	cout << score << endl;
	return 0;
}