using System.Threading.Tasks;
static void Main(string[] args)
int count = 1, tempcount = 1, number = 0;
Console.Write("Please, enter array length: ");
int length = Int32.Parse (Console.ReadLine());
int[] array = new int[length];
for (int i = 0; i < array.Length; i++)
Console.Write("Enter {0} element: ", i);
array[i] = Int32.Parse (Console.ReadLine());
for (int i = 0; i < array.Length - 1; i++)
if (array[i] == array[i + 1]) tempcount++;
for (int i = 0; i < count; i++) Console.Write("{0}, ", number);