std_in = input() perfect,great,good,miss = std_in.split(" ") cnt = 0 score = 0 if int(miss) >= 10: print("Impossible") else: for i in range(1,int(great) + 1): cnt += 1 if cnt <=100: score += 1 * 50 elif cnt <= 200: score += 2 * 50 elif cnt <= 300: score += 4 * 50 elif cnt <= 400: score += 8 * 50 for j in range(1,int(perfect) + 1): cnt += 1 if cnt <=100: score += 1 * 100 elif cnt <= 200: score += 2 * 100 elif cnt <= 300: score += 4 * 100 elif cnt <= 400: score += 8 * 100 print("Possible") print(score)