A, B, C, D = map(int, input().split()) if D == 10: print('Impossible') else: print('Possible') n = A + B print(min(n, 100) * 100 + min(max(n - 100, 0), 100) * 200 + min(max(n - 200, 0), 100) * 400 + min(max(n - 300, 0), 100) * 800 + min(max(n - 400, 0), 100) * 1600 + min(max(n - 500, 0), 100) * 3200 + min(max(n - 600, 0), 100) * 6400 + min(max(n - 700, 0), 100) * 12800 - min(B, 100) * 50 - min(max(B - 100, 0), 100) * 100 - min(max(B - 200, 0), 100) * 200 - min(max(B - 300, 0), 100) * 400)