import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
public class Main {

	public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util public class Main {

	public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	}

} Main public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	} main {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	} 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 strARY[] = str.split(" "); strARY str.split(" ") str.split str " " int a = Integer.parseInt(strARY[0]); a Integer.parseInt(strARY[0]) Integer.parseInt Integer strARY[0] strARY 0 int b = Integer.parseInt(strARY[1]); b Integer.parseInt(strARY[1]) Integer.parseInt Integer strARY[1] strARY 1 int c = Integer.parseInt(strARY[2]); c Integer.parseInt(strARY[2]) Integer.parseInt Integer strARY[2] strARY 2 int x = 0; x 0 ArrayList<Integer> ary = new ArrayList<Integer>(); ary new ArrayList<Integer>() ary.add(a) ary.add ary a ary.add(b) ary.add ary b ary.add(c) ary.add ary c Collections.sort(ary) Collections.sort Collections ary System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2)) System.out.println System.out System System.out ary.get(0) + " " + ary.get(1) + " " + ary.get(2) " " ary.get(1) ary.get(0) + " " + ary.get(1) + " " + ary.get(2) ary.get(0) ary.get ary 0 " " ary.get(1) ary.get ary 1 " " ary.get(2) ary.get ary 2 String[] args args public class Main {

	public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	}

} public class Main {

	public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
public class Main {

	public static void main(String[] args)throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strARY[] = str.split(" ");
		int a = Integer.parseInt(strARY[0]);
		int b = Integer.parseInt(strARY[1]);
		int c = Integer.parseInt(strARY[2]);
		int x = 0;
		
		ArrayList<Integer> ary = new ArrayList<Integer>();
		
		ary.add(a);
		ary.add(b);
		ary.add(c);
		
		Collections.sort(ary);
		
		System.out.println(ary.get(0) + " " + ary.get(1) + " " + ary.get(2));
	}

}