import java.util.Scanner;

 class Main {
 public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);
  int a, b, c;
  a = scan.nextInt();
  b = scan.nextInt();
  c = scan.nextInt();
  int[] array = { a, b, c };
  for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  }
  for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  }
 }
} import java.util.Scanner; Scanner java.util class Main {
 public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);
  int a, b, c;
  a = scan.nextInt();
  b = scan.nextInt();
  c = scan.nextInt();
  int[] array = { a, b, c };
  for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  }
  for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  }
 }
} Main public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);
  int a, b, c;
  a = scan.nextInt();
  b = scan.nextInt();
  c = scan.nextInt();
  int[] array = { a, b, c };
  for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  }
  for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  }
 } main {
  Scanner scan = new Scanner(System.in);
  int a, b, c;
  a = scan.nextInt();
  b = scan.nextInt();
  c = scan.nextInt();
  int[] array = { a, b, c };
  for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  }
  for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  }
 } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b b c; c a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan int[] array = { a, b, c }; array { a, b, c } a b c for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  } int i = 0; int i = 0; i 0 i < array.length i array.length array array.length i += 1 i += 1 i 1 {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  } {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  } for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   } int j = i + 1; int j = i + 1; j i + 1 i 1 j < array.length j array.length array array.length j += 1 j += 1 j 1 {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   } {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   } if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    } array[j] < array[i] array[j] array j array[i] array i {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    } int temp = array[i]; temp array[i] array i array[i] = array[j] array[i] array i array[j] array j array[j] = temp array[j] array j temp for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  } int n = 0; int n = 0; n 0 n < array.length n array.length array array.length n += 1 n += 1 n 1 {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  } {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  } if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   } n == array.length - 1 n array.length - 1 array.length array array.length 1 {
    System.out.println(array[n]);
   } System.out.println(array[n]) System.out.println System.out System System.out array[n] array n {
    System.out.print(array[n] + " ");
   } System.out.print(array[n] + " ") System.out.print System.out System System.out array[n] + " " array[n] array n " " String[] args args
import java.util.Scanner;

 class Main {
 public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);
  int a, b, c;
  a = scan.nextInt();
  b = scan.nextInt();
  c = scan.nextInt();
  int[] array = { a, b, c };
  for (int i = 0; i < array.length; i += 1) {
   for (int j = i + 1; j < array.length; j += 1) {
    if (array[j] < array[i]) {
     int temp = array[i];
     array[i] = array[j];
     array[j] = temp;
    }
   }
  }
  for (int n = 0; n < array.length; n += 1) {
   if (n == array.length - 1) {
    System.out.println(array[n]);
   } else {
    System.out.print(array[n] + " ");
   }
  }
 }
}