def solve(): v = list(map(int, input().split())) if v[3] == 10: print("Impossible") return print("Possible") n = 1 num = (100, 50) t = 100 c = 1 ans = 0 while n >= 0: ans += min(v[n], t) * num[n] * c v[n] -= t if v[n] <= 0: if v[n] == 0: c <<= 1 else: t = -v[n] n -= 1 continue c <<= 1 t = 100 print(ans) solve()