count := 0;for i := 1 to m - 1 do if P[i] = - P[i + 1] then inc(count);
randomize;a := random(21) - 10;