
import java.io.*;
import java.util.Scanner;

public class Main{
               public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            }
 } import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main{
               public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            }
 } Main public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            } main {
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            } int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 Scanner in = new Scanner(System.in); in new Scanner(System.in) String buf1 = in.next(); buf1 in.next() in.next in String buf2 = in.next(); buf2 in.next() in.next in String buf3 = in.next(); buf3 in.next() in.next in a = Integer.parseInt(buf1) a Integer.parseInt(buf1) Integer.parseInt Integer buf1 b = Integer.parseInt(buf2) b Integer.parseInt(buf2) Integer.parseInt Integer buf2 c = Integer.parseInt(buf3) c Integer.parseInt(buf3) Integer.parseInt Integer buf3 if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a < b && b < c a < b a b b < c b c {
                          System.out.println(a +" "+ b +" "+ c);
                     } System.out.println(a +" "+ b +" "+ c) System.out.println System.out System System.out a +" "+ b +" "+ c " " b a +" "+ b +" "+ c a " " b " " c if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a < c && c < b a < c a c c < b c b {
                          System.out.println(a +" "+ c +" "+ b);
                     } System.out.println(a +" "+ c +" "+ b) System.out.println System.out System System.out a +" "+ c +" "+ b " " c a +" "+ c +" "+ b a " " c " " b if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } b < a && a < c b < a b a a < c a c {
                          System.out.println(b +" "+ a +" "+ c);
                     } System.out.println(b +" "+ a +" "+ c) System.out.println System.out System System.out b +" "+ a +" "+ c " " a b +" "+ a +" "+ c b " " a " " c if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } b < c && c < a b < c b c c < a c a {
                          System.out.println(b +" "+ c +" "+ a);
                     } System.out.println(b +" "+ c +" "+ a) System.out.println System.out System System.out b +" "+ c +" "+ a " " c b +" "+ c +" "+ a b " " c " " a if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } c < a && a < b c < a c a a < b a b {
                          System.out.println(c +" "+ a +" "+ b);
                     } System.out.println(c +" "+ a +" "+ b) System.out.println System.out System System.out c +" "+ a +" "+ b " " a c +" "+ a +" "+ b c " " a " " b if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } c < b && b < a c < b c b b < a b a {
                          System.out.println(c +" "+ b +" "+ a);
                     } System.out.println(c +" "+ b +" "+ a) System.out.println System.out System System.out c +" "+ b +" "+ a " " b c +" "+ b +" "+ a c " " b " " a if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a == b && b < c a == b a b b < c b c {
                          System.out.println(a +" "+ b +" "+ c);
                     } System.out.println(a +" "+ b +" "+ c) System.out.println System.out System System.out a +" "+ b +" "+ c " " b a +" "+ b +" "+ c a " " b " " c if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a == b && b > c a == b a b b > c b c {
                          System.out.println(c +" "+ a +" "+ b);
                     } System.out.println(c +" "+ a +" "+ b) System.out.println System.out System System.out c +" "+ a +" "+ b " " a c +" "+ a +" "+ b c " " a " " b if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a == c && b > c a == c a c b > c b c {
                          System.out.println(a +" "+ c +" "+ b);
                     } System.out.println(a +" "+ c +" "+ b) System.out.println System.out System System.out a +" "+ c +" "+ b " " c a +" "+ c +" "+ b a " " c " " b if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } a == c && b < c a == c a c b < c b c {
                          System.out.println(b +" "+ a +" "+ c);
                     } System.out.println(b +" "+ a +" "+ c) System.out.println System.out System System.out b +" "+ a +" "+ c " " a b +" "+ a +" "+ c b " " a " " c if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } b == c && a > c b == c b c a > c a c {
                          System.out.println(b +" "+ c +" "+ a);
                     } System.out.println(b +" "+ c +" "+ a) System.out.println System.out System System.out b +" "+ c +" "+ a " " c b +" "+ c +" "+ a b " " c " " a if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     } b == c && a < c b == c b c a < c a c {
                          System.out.println(a +" "+ b +" "+ c);
                     } System.out.println(a +" "+ b +" "+ c) System.out.println System.out System System.out a +" "+ b +" "+ c " " b a +" "+ b +" "+ c a " " b " " c {
                          System.out.println(a +" "+ b +" "+ c);
                     } System.out.println(a +" "+ b +" "+ c) System.out.println System.out System System.out a +" "+ b +" "+ c " " b a +" "+ b +" "+ c a " " b " " c String args[] args public class Main{
               public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            }
 } public class Main{
               public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            }
 } Main

import java.io.*;
import java.util.Scanner;

public class Main{
               public static void main(String args[]) throws IOException{
                     int a = 0;
                     int b = 0;
                     int c = 0;
                   
                     Scanner in = new Scanner(System.in);
                     
                     String buf1 = in.next();
                     String buf2 = in.next();
                     String buf3 = in.next();
                     
                     a = Integer.parseInt(buf1);
                     b = Integer.parseInt(buf2);
                     c = Integer.parseInt(buf3);
               
                     if(a < b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a < c && c < b){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(b < a && a < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b < c && c < a){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(c < a && a < b){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(c < b && b < a){
                          System.out.println(c +" "+ b +" "+ a);
                     }else if(a == b && b < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else if(a == b && b > c){
                          System.out.println(c +" "+ a +" "+ b);
                     }else if(a == c && b > c){
                          System.out.println(a +" "+ c +" "+ b);
                     }else if(a == c && b < c){
                          System.out.println(b +" "+ a +" "+ c);
                     }else if(b == c && a > c){
                          System.out.println(b +" "+ c +" "+ a);
                     }else if(b == c && a < c){
                          System.out.println(a +" "+ b +" "+ c);
                     }else{
                          System.out.println(a +" "+ b +" "+ c);
                     }
                     
            }
 }