def min(a,b); a < b ? a : b; end A,B,C,D = gets.split.map(&:to_i) if D >= 10 puts :Impossible else rb,mb = B.divmod(100) ans = rb.times.inject(0){|sum,i| sum + 50 * 100 * (1 << i) } mba = min(100 - mb, A) ra,ma = (A - mba).divmod(100) ans = ra.times.inject(ans + (1 << rb) * (50 * mb + 100 * mba)){|sum, i| sum + 100 * 100 * (1 << (rb + i + 1)) } ans += ma * 100 * (1 << ra + rb + 1) puts :Possible puts ans end