#include using namespace std; int main() { int n; cin >> n; multiset st; for(int i=0;i> a; st.insert(a); } for(int i=0;i