using System;
public class Program
{
public static void Main()
int[] hodnoty = new int[] {3, 7, 1, 0, 4, 2, 5, 6, 6, 0, 3, 0, 5, 2, 0, 4, 8};
int i = 0;
int a = hodnoty[i];
while(a>0)
i++;
a = hodnoty[i];
Console.WriteLine(a);
}