a=[];for(i=16;i--;)a[38505>>i&1?i:15-i]=i*2-15;for(i=4;i--;)print(a.slice(i*4,i*4+4).join(" "))
Standard input is empty
9 -11 -13 15 -1 3 5 -7 7 -5 -3 1 -15 13 11 -9
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!