import java.util.Scanner;
public class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 }
} import java.util.Scanner; Scanner java.util public class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 }
} Main public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 } main {
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num[] = new int[3]; num new int[3] 3 int i=0 i 0 j=0; j 0 int tmp = 0; tmp 0 num[0] = sc.nextInt() num[0] num 0 sc.nextInt() sc.nextInt sc num[1] = sc.nextInt() num[1] num 1 sc.nextInt() sc.nextInt sc num[2] = sc.nextInt() num[2] num 2 sc.nextInt() sc.nextInt sc for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  } i = 0 ; i = 0 i 0 i < 2 i 2 i++ i++ i {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  } {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  } for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   } j = 2 ; j = 2 j 2 j > i j i j-- j-- j {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   } {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   } if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    } num[j - 1] > num[j] num[j - 1] num j - 1 j 1 num[j] num j {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    } tmp = num[j - 1] tmp num[j - 1] num j - 1 j 1 num[j - 1] = num[j] num[j - 1] num j - 1 j 1 num[j] num j num[j] = tmp num[j] num j tmp System.out.printf("%d %d %d\n",num[0],num[1],num[2]) System.out.printf System.out System System.out "%d %d %d\n" num[0] num 0 num[1] num 1 num[2] num 2 String[] args args public class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 }
} public class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 }
} Main
import java.util.Scanner;
public class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int num[] = new int[3];
  int i=0,j=0;
  int tmp = 0;
  num[0] = sc.nextInt();
  num[1] = sc.nextInt();
  num[2] = sc.nextInt();
  for(i = 0 ; i < 2 ; i++)
  {
   for(j = 2 ; j > i ; j--)
   {
    if(num[j - 1] > num[j])
    {
     tmp = num[j - 1];
     num[j - 1] = num[j];
     num[j] = tmp;
    }
   }
  }
  System.out.printf("%d %d %d\n",num[0],num[1],num[2]);
 }
}
