...just a complicated routine layed out fancily.
#!/usr/bin/perl -w
use strict;
my@f;my@x=(100 *100,0,2800,0,
0,\@f,0);for(; &f;){&g;}for(;
&a;&b ){for( &c;&d;
&e){} }sub a {$x[3]
=0;$x[6]=$x[2] *2;}my
$b;sub b{$x[2] -=14;;
printf( "".''.
"%.4d" ,$x[4] +$x[3]/
$x[0]) ;$x[4]= $x[3]%
$x[0]; }sub c{ $x[1]=
$x[2];}sub d{ if(!!!$x[5]->[
$x[1]]){;$x[5] ->[$x[1]]=0;;}
$x[3] +=$x[5 ]->[$x
[1]]* $x[0]; ;$x[5]
->[$x[1]]=$x[3 ]%--$x
[6];$x[3]/=$x[ 6]--;;
--$x[1 ];}sub
e{$x[ 3]*=$x[1];}sub
f{$x[ 1]-$x[2]; }sub
g{$x[ 5]->[$x[1]++]=
$x[0]/5;}