Where is my error
using System; namespace ConsoleApp8 { class Program { static void Main(string[] args) { int n = Convert.ToInt32(Console.ReadLine()); int[] z = new int[n - 1]; int neg = 0, pos = 0, zer = 0; for (int i = 0; i < n; i++) { z[i] = Convert.ToInt32(Console.ReadLine()); if (z[i] > 0 ) { neg++; } else if (z[i] < 0) { pos++; } else { zer++; } } Console.Write(neg); Console.Write(" "); Console.Write(zer); Console.Write(" "); Console.Write(pos); } } }