using System;
public class Program
{
public static void Main()
const int n = 15;
int[] a = new int[n] { 2,-3,6,-7,9,10,13,5,3,-2,9,15,-7,8,-1 };
Console.Write("{ ");
for (int i = 0; i < n; i++) Console.Write(a[i] + " ");
Console.WriteLine("}");
int maxa = a[0];
for (int i = 0; i < n; i=i+2)
if (a[i] > maxa)
maxa = a[i];
}
for (int i = 0; i < n; i++)
if (a[i] == maxa)
a[i] = i;
Console.Write("The new array: {");