while ((N--)!=0 && cin>>input) multiset1.insert(input);
↧
while ((N--)!=0 && cin>>input) multiset1.insert(input);