function Gen(n: integer): sequence of integer; var j,k: real; begin var i := 1; j := 5; while i