import java.util.*;

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

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     }
   }

 import java.util.*; util.* java public class Main{
  public static void main(String[] args){

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     }
   } Main public static void main(String[] args){

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     } main {

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] data = {0,0,0}; data {0,0,0} 0 0 0 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 data[0] = a data[0] data 0 a data[1] = b data[1] data 1 b data[2] = c data[2] data 2 c for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     } int i = 0; int i = 0; i 0 i <data.length-1 i data.length-1 data.length data data.length 1 i++ i++ i {
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     } {
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     } for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       } int j = i+1; int j = i+1; j i+1 i 1 j <data.length j data.length data data.length j++ j++ j {
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       } {
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       } if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         } data[i] > data[j] data[i] data i data[j] data j {
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         } int k = data[i]; k data[i] data i data[i] = data[j] data[i] data i data[j] data j data[j] = k data[j] data j k for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     } int i = 0; int i = 0; i 0 i < data.length-1 i data.length-1 data.length data data.length 1 i++ i++ i {
       System.out.print(data[i] + " ");
     } {
       System.out.print(data[i] + " ");
     } System.out.print(data[i] + " ") System.out.print System.out System System.out data[i] + " " data[i] data i " " System.out.print(data[2]) System.out.print System.out System System.out data[2] data 2 System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args public class Main{
  public static void main(String[] args){

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     }
   } public class Main{
  public static void main(String[] args){

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     }
   } Main
import java.util.*;

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

  Scanner sc = new Scanner(System.in);
  int[] data = {0,0,0};
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
     data[0] = a;
     data[1] = b;
     data[2] = c;
     for(int i = 0; i <data.length-1; i++){
       for(int j = i+1; j <data.length; j++){
         if(data[i] > data[j]){
           int k = data[i];
           data[i] = data[j];
           data[j] = k;
         }
       }
     }
     for(int i = 0; i < data.length-1; i++){
       System.out.print(data[i] + " ");
     }
     System.out.print(data[2]);
     System.out.print("\n");
     }
   }


