multimap<int,int> H; multimap<int,int>::iterator im,it; H.clear();
for (j=1; j<=N; j++) {
cin >> a[j];
H.insert(make_pair(a[j],j)); }
for (im=H.begin(); im!=H.end(); im++) { aj=im->first;
j =im->second;
cout << aj << ' ' << j << endl;
}
H.erase(H.find(del_aj));