begin
var n := ReadInteger('n =');
var a := ArrRandom(n, -10, 99);
a.Println;
var b := a.Select((v,i) -> (i + 1) * v).ToArray;
b.Println;
end.
begin
var n := ReadInteger('n =');
var a := ArrRandom(n, -10, 99);
a.Println;
var b := a.Select((v,i) -> (i + 1) * v).ToArray;
b.Println;
end.