#include<iostream>
#include<algorithm>
using namespace std;

int main()
{
	int arr[3];
	int x, y, z;

	cin >> x >> y >> z;

	 arr[0] = x;
	 arr[1] = y;
	 arr[2] = z;

	sort(arr, arr + 3);
	
	x = arr[0];
	y = arr[1];
	z = arr[2];

	cout << x << " " << y << " " << z;

}