#include <iostream>
#include <set>
#include <cassert>
using namespace std;

int main ()
{
  int myints[] = {75,23,65,42,13};
  multiset<int> myset (myints,myints+5);

  multiset<int>::iterator it = myset.end();
  it--;
  assert(*it == 75);
  cout << "myset contains:";
  for ( it=myset.begin() ; it != myset.end(); it++ )
    cout << " " << *it;

  cout << endl;

  return 0;
}
