#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int i=0; int m=0; vector <int> a; while(cin>>m) { a.push_back(m); } sort(a.begin(),a.end()); int len=a.size(); for(i=0;i<len;i++) { cout<<a[i]; if(i!=len-1) { cout<<" "; } } return 0; }