program name; var N,M,L,a,u,i:integer;begin read (N,M,L);a:=L+M-N;u:=M-a;i:=L-a; write(a,u,i);end.
1 2 3 4
4-2-1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!