import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
String A=scan.next();
String B=scan.next();
String C=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
int c=Integer.parseInt(C);
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
}
System.out.println(a+" "+b+" "+c);
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
String A=scan.next();
String B=scan.next();
String C=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
int c=Integer.parseInt(C);
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
}
System.out.println(a+" "+b+" "+c);
}
} Main public static void main(String[] args){
Scanner scan=new Scanner(System.in);
String A=scan.next();
String B=scan.next();
String C=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
int c=Integer.parseInt(C);
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
}
System.out.println(a+" "+b+" "+c);
} main {
Scanner scan=new Scanner(System.in);
String A=scan.next();
String B=scan.next();
String C=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
int c=Integer.parseInt(C);
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
}
System.out.println(a+" "+b+" "+c);
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) String A=scan.next(); A scan.next() scan.next scan String B=scan.next(); B scan.next() scan.next scan String C=scan.next(); C scan.next() scan.next scan int a=Integer.parseInt(A); a Integer.parseInt(A) Integer.parseInt Integer A int b=Integer.parseInt(B); b Integer.parseInt(B) Integer.parseInt Integer B int c=Integer.parseInt(C); c Integer.parseInt(C) Integer.parseInt Integer C int okiba; okiba if(a>b){
okiba=a;
a=b;
b=okiba; 
} a>b a b {
okiba=a;
a=b;
b=okiba; 
} okiba=a okiba a a=b a b b=okiba b okiba if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
} b>c b c {
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
} okiba=b okiba b b=c b c c=okiba c okiba if(a>b){
okiba=a;
a=b;
b=okiba; 
} a>b a b {
okiba=a;
a=b;
b=okiba; 
} okiba=a okiba a a=b a b b=okiba b okiba 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
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
String A=scan.next();
String B=scan.next();
String C=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
int c=Integer.parseInt(C);
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
if(b>c){
okiba=b;
b=c;
c=okiba; 
if(a>b){
okiba=a;
a=b;
b=okiba; 
}
}
System.out.println(a+" "+b+" "+c);
}
}