using System;
public class Program
{
public static void Main()
int[] test={5,3,8,4,1,7};
int[] test1={};
int test2=2;
for(int i=0;i<test.Length;i++)
if(test[i]<test[i+1])
test1[i]=test[i+1];
}