using System;
public class Program
{
static public void Main ()
int []A = {9, 4, 454, 6, -363, 10, 7};
int n = A.Length;
Console.WriteLine(MaxItem(A, n));
}
public static int MaxItem(int []A,int n)
if(n == 1)
return A[0];
return Math.Max(A[n - 1],MaxItem(A, n - 1));