using System;
public class Program
{
public static void Main()
int[] a = new int[]{1, 2, 3, 4, 5, 6};
Console.WriteLine(amer(a));
}
public static bool amer(int[] arr)
for (int i = 0;i<arr.Length - 1; i++)
if (arr[i]!=arr[i + 1] - 1)
return false;
return true;