import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 public   class  MaxMin1
 {
  public static void main(String args[])throws IOException 
					{
					int Max  = 0 ;
					int Min = 0  ;
					
					BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
					String input = " ";
					System.out.print("Input  Number 1:");
					input = stdin.readLine();				
					int y = Integer.parseInt(input);
				     {
					System.out.print("Input Number 2:");
					input = stdin.readLine();				
					int x = Integer.parseInt(input);
					 if ( x >y) {
						Max = x ; 
						Min=y;}
						if(x<y) {
							Max=y;
							Min=x;}
							else
						 {Min=x; Max=y;
								System.out.print("  x=y\n");}
					System.out.println( "  Max Number = "+Max );
					System.out.println( "  Min Number = "+Min );
					}
					}
 }