text: #include <stdio.h>
  
  void swap (int* a, int* b) {
  	int t = *a;
  	*a = *b;
  	*b = t;
  }
  
  int main () {
  
  	int a, b, c;
  	while (~scanf ("%d%d%d", &a, &b, &c)) {
  		if (a > b) {
  			swap (&a, &b);
  		}
  		if (a > c) {
  			swap (&a, &c);
  		}
  		if (b > c) {
  			swap (&b, &c);
  		}
  		printf ("%d %d %d\n", a, b, c);
  	}
  
  
  	return 0;
  }