

import java.util.Scanner;


public class ExchangeNums
{
    public static void main(String[] args)
    {
        Scanner input = new Scanner(System.in);

        int x = input.nextInt();    // Read in the numbers
        int y = input.nextInt();

        if ( x > y )  // If wrong order, exchange x and y
        {
            int help;

            help = x;      // Program technique that we learned before
	    x = y;         
	    y = help;
        }
    }                       
}   

