var p: real; d, a1, i : Integer;begin a1 := 9; d := 4; p := 1;
for i := 1 to 8 do p := p * (a1 + (i - 1) * d); Write( p:0:0 );end.