end;
if t=0 then writeln(’Impossible’); readln; end.
输入 5 ↙ 6 10 -3 4输出 6+10-(-3)-4=15
6-10-(-3)-4=-5
输入 7 ↙120 30 -60 55输出 120+30-(-60)-55=35 输入 9 ↙10 2 6 8输出 Impossible 输入 8 ↙50 36 -32 -30
输出 50+36+(-32)+(-30)=24 50+36-(-32)+(-30)=88 50-36+(-32)+(-30)=-48 50-36-(-32)+(-30)=16