import java.util.*;

class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c;
int temp =0;
a =sc.nextInt();
b =sc.nextInt();
c =sc.nextInt();
if(a>b){ temp = a; a = b; b = temp;}
if(b>c){ temp = b; b = c; c = temp;}
if(a>b){ temp = a; a = b; b = temp;}
System.out.println(a+" "+b+" "+c);
}
} import java.util.*; util.* java class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c;
int temp =0;
a =sc.nextInt();
b =sc.nextInt();
c =sc.nextInt();
if(a>b){ temp = a; a = b; b = temp;}
if(b>c){ temp = b; b = c; c = temp;}
if(a>b){ temp = a; a = b; b = temp;}
System.out.println(a+" "+b+" "+c);
}
} Main public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c;
int temp =0;
a =sc.nextInt();
b =sc.nextInt();
c =sc.nextInt();
if(a>b){ temp = a; a = b; b = temp;}
if(b>c){ temp = b; b = c; c = temp;}
if(a>b){ temp = a; a = b; b = temp;}
System.out.println(a+" "+b+" "+c);
} main {
Scanner sc = new Scanner(System.in);
int a,b,c;
int temp =0;
a =sc.nextInt();
b =sc.nextInt();
c =sc.nextInt();
if(a>b){ temp = a; a = b; b = temp;}
if(b>c){ temp = b; b = c; c = temp;}
if(a>b){ temp = a; a = b; b = temp;}
System.out.println(a+" "+b+" "+c);
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b b c; c int temp =0; temp 0 a =sc.nextInt() a sc.nextInt() sc.nextInt sc b =sc.nextInt() b sc.nextInt() sc.nextInt sc c =sc.nextInt() c sc.nextInt() sc.nextInt sc if(a>b){ temp = a; a = b; b = temp;} a>b a b { temp = a; a = b; b = temp;} temp = a temp a a = b a b b = temp b temp if(b>c){ temp = b; b = c; c = temp;} b>c b c { temp = b; b = c; c = temp;} temp = b temp b b = c b c c = temp c temp if(a>b){ temp = a; a = b; b = temp;} a>b a b { temp = a; a = b; b = temp;} temp = a temp a a = b a b b = temp b temp 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.*;

class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a,b,c;
int temp =0;
a =sc.nextInt();
b =sc.nextInt();
c =sc.nextInt();
if(a>b){ temp = a; a = b; b = temp;}
if(b>c){ temp = b; b = c; c = temp;}
if(a>b){ temp = a; a = b; b = temp;}
System.out.println(a+" "+b+" "+c);
}
}