using System;
public class Program
{
public static void Main()
int[] s1 = new int[10] { 1, 2, 3, -4, 5, 6, 7, 8, -9, 10 };
int[] s3 = new int[10];
int t;
for(int i = t = 0; i < 10; i++, t++)
if (s1[t] > 0)
s3[i] = s3[i] + s1[i];
}
for(int i = 0; i < 10; i++)
Console.Write(s3[i]+" ");