import java.util.Scanner;
public class Comparison
{
public static void main( String[] args )
{
Scanner input = new Scanner( System.in );
int number2;
int number3;
int number4;
int number5;
int largestinteger;
System.out.print( "Enter First Integer: " );
largestinteger = input.nextInt();
System.out.print( "Enter Second Integer: " );
number2 = input.nextInt();
System.out.print( "Enter Third Integer: " );
number3 = input.nextInt();
System.out.print( "Enter Fourth Integer: " );
number4 = input.nextInt();
System.out.print( "Enter Fifth Integer: " );
number5 = input.nextInt();
if ( largestinteger < number2 )
largestinteger = number2;
if ( largestinteger < number3 )
largestinteger = number3;
if ( largestinteger < number4 )
largestinteger = number4;
if ( largestinteger < number5 )
largestinteger = number5;
System.out.println( largestinteger );
}
}