perfect, great, good, miss = map(int, input().split()) if miss == 10: print('Impossible') else: print('Possible') combo, score = 0, 0 for _ in range(great): score += 50 * 2 ** (combo // 100) combo += 1 for _ in range(perfect): score += 100 * 2 ** (combo // 100) combo += 1 print(score)