[a, b, c, d] = list(map(int, input().split())) if d >= 10: print("Impossible") combo = 1 score = 0 while b >= 100: score += 50 * combo combo += 1 b -= 100 score += b * combo if b + a >= 100: a -= (100 - b) score += 100 * (100 - b) * combo while a >= 100: score += 100 * combo combo += 1 a -= 100 score += a * combo print("Possible\n{}".format(score))