#include<bits/stdc++.h> using namespace std; int main(){ set<int>s; // write your code here...... int a; while(cin >> a){ s.insert(a); } set<int>::const_iterator it; for(it = s.begin();it != s.end();it++) { cout<<*it<<" "; } return 0; }