#include <set>
#include <cstdio>

using namespace std;

struct box {
  int x;
  box( int x ) : x(x) {  }
  operator int() { return x; }
};

bool operator < ( box i, box j ) {
  return int(i) > int(j);
}

int main() {
  set <box> s;

  for (int i = 1; i <= 10; i++)
    s.insert(i);
  for (auto it : s)
    printf("%d ", int(it));
  return 0;
}