using System;
public class Program
{
public static void Main()
int s=0;
int[ ] a = new int [10];
Random x = new Random();
for (int i = 0; i < 10; i++)
a[i] = x.Next(15)-9;
Console.Write(a[i] +" ");
if (a[i] > 0) s =s-a[i];
}
Console.WriteLine();
Console.WriteLine( "s= "+s);