Four Number Game by leonid

while 1:
 n=o=a=map(int,raw_input().split())
 while n+o:m,n,o,p=map(abs,a);print m,n,o,p;a=m-n,n-o,o-p,p-m
 print

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page