import java.util.*;

public class Main {
  public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  }
} Main public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  } main {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int[] nums; nums nums = new int[3] nums new int[3] 3 nums[0]=a nums[0] nums 0 a nums[1]=b nums[1] nums 1 b nums[2]=c nums[2] nums 2 c Arrays.sort(nums) Arrays.sort Arrays nums System.out.println(nums[0]+" "+nums[1]+" "+nums[2]) System.out.println System.out System System.out nums[0]+" "+nums[1]+" "+nums[2] " " nums[1] nums[0]+" "+nums[1]+" "+nums[2] nums[0] nums 0 " " nums[1] nums 1 " " nums[2] nums 2 String[] args args public class Main {
  public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  }
} public class Main {
  public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {


    Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();

int[] nums;

nums = new int[3];

nums[0]=a;

nums[1]=b;

nums[2]=c;


Arrays.sort(nums);


System.out.println(nums[0]+" "+nums[1]+" "+nums[2]);
  }
}
