using System;
public class Program
{
public int harambe(int[] arr){
int len = arr.Length;
int order = 1;
int maxorder = 1;
Array.Sort(arr);
for(int x=0; x < len-1; x++) {
if (arr[x+1] == arr[x]+1)
order += 1;
if (order > maxorder){
maxorder = order;
}
else{
order = 1;
Console.Write(order);
return maxorder;
public static void Main()
Program a = new Program();
int[] arr = { 103, 50, 60, 4, 10, 3, 1, 70, 90 , 91 , 92 , 2};
int b = a.harambe(arr);
Console.Write('{');
Console.Write( b.ToString() );
Console.Write('}');