func main() var a: int :: cui@inputInt() var b: int :: cui@inputInt() var c: int :: cui@inputInt() var d: int :: cui@inputInt() if(d = 10) do cui@print("Impossible\n") ret end if var rate: int :: 1 var combo: int :: 0 var ans: int for i(1, b + a) do combo :+ 1 if(combo > 100 & combo % 100 = 1) do rate :* 2 end if do ans :+ (i <= b ?(50, 100)) * rate end for do cui@print("Possible\n") do cui@print("\{ans}\n") end func