using System; using static System.Console; using static System.Math; using System.Linq; public class Hello{ public static void Main(){ string[] inp = ReadLine().Split(' '); int a = int.Parse(inp[0]); int b = int.Parse(inp[1]); int c = int.Parse(inp[2]); int d = int.Parse(inp[3]); if(d>=10){ WriteLine("Impossible"); }else{ int bairitu = 1; int count = 0; int total = 0; while(b>0){ count++; total += 50*bairitu; b--; if(count % 100 ==0){ bairitu*=2; } } while(a>0){ count++; total += 100*bairitu; a--; if(count%100 == 0){ bairitu*=2; } // WriteLine(total); } WriteLine("Possible"); WriteLine(total); } } }