using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a={0,2,3,4,5};
            int max = a[0];
            for (int i = 1; a.Length < 5; i++)
            {
                if (a[i] > max)
                {
                    max = a[i];
                }
            }
            Console.WriteLine(max);
            Console.ReadLine();
        }
    }
}