#include <iostream>
#include <set>
#include <string>
int main()
{
std::multiset<std::string> prog_lang{ "c++", "c", "assembly" };
for (const auto& elem : prog_lang) {
std::cout << elem << " ";
}
std::cout << std::endl;
prog_lang.insert( { "python", "java", "c#", "php" } );
for (const auto& elem : prog_lang) {
std::cout << elem << " ";
}
std::cout << std::endl;
return 0;
}
/*
run:
assembly c c++
assembly c c# c++ java php python
*/