import java.io.*;
import java.util.*;
class Main{
    public static void main(String args[]) throws IOException{

	int a=0;
	int b=0;
	int c=0;
	int i=0;
	int tmp=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	}
	if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	}
	if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	}
	if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	}
        System.out.println(a+" "+b+" "+c);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String args[]) throws IOException{

	int a=0;
	int b=0;
	int c=0;
	int i=0;
	int tmp=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	}
	if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	}
	if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	}
	if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	}
        System.out.println(a+" "+b+" "+c);
    }
} Main public static void main(String args[]) throws IOException{

	int a=0;
	int b=0;
	int c=0;
	int i=0;
	int tmp=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	}
	if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	}
	if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	}
	if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	}
        System.out.println(a+" "+b+" "+c);
    } main {

	int a=0;
	int b=0;
	int c=0;
	int i=0;
	int tmp=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	}
	if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	}
	if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	}
	if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	}
        System.out.println(a+" "+b+" "+c);
    } int a=0; a 0 int b=0; b 0 int c=0; c 0 int i=0; i 0 int tmp=0; tmp 0 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String delimiter = " "; delimiter " " StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter ); stringTokenizer new StringTokenizer( str, delimiter ) while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	} stringTokenizer.hasMoreTokens() stringTokenizer.hasMoreTokens stringTokenizer {
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	} String current = stringTokenizer.nextToken(); current stringTokenizer.nextToken() stringTokenizer.nextToken stringTokenizer if(i==0)a=Integer.parseInt(current); i==0 i 0 a=Integer.parseInt(current) a Integer.parseInt(current) Integer.parseInt Integer current if(i==1)b=Integer.parseInt(current); i==1 i 1 b=Integer.parseInt(current) b Integer.parseInt(current) Integer.parseInt Integer current if(i==2)c=Integer.parseInt(current); i==2 i 2 c=Integer.parseInt(current) c Integer.parseInt(current) Integer.parseInt Integer current i++ i if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	} a>c a c {
	    tmp=a;
	    a=c;
	    c=tmp;
	} tmp=a tmp a a=c a c c=tmp c tmp if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	} a>b a b {
	    tmp=a;
	    a=b;
	    b=tmp;
	} tmp=a tmp a a=b a b b=tmp b tmp if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	} b>c b c {
	    tmp=b;
	    b=c;
	    c=tmp;
	} tmp=b tmp b b=c b c c=tmp c tmp 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.io.*;
import java.util.*;
class Main{
    public static void main(String args[]) throws IOException{

	int a=0;
	int b=0;
	int c=0;
	int i=0;
	int tmp=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Integer.parseInt(current);
	    if(i==1)b=Integer.parseInt(current);
	    if(i==2)c=Integer.parseInt(current);
	    i++;
	}
	if(a>c){
	    tmp=a;
	    a=c;
	    c=tmp;
	}
	if(a>b){
	    tmp=a;
	    a=b;
	    b=tmp;
	}
	if(b>c){
	    tmp=b;
	    b=c;
	    c=tmp;
	}
        System.out.println(a+" "+b+" "+c);
    }
}