#include <string>
#include <map>
#include <utility>
using namespace std;
int main()
{
map<int, string> topFilms;
topFilms[1] = "Gone with the Wind";
topFilms[2] = "Citizen Kane";
topFilms[3] = "Vertigo";
topFilms.insert(pair<int, string>(4, "The Godfather"));
// OR
topFilms.insert({4, "The Godfather"});
cout << "Top " << topFilms.size() << " films: " << endl;
for (map<int, string>::iterator it = topFilmes.begin(); it != topFilms.end(); +
+it)
cout << (*it).first << ": " << (*it).second << endl;
return 0;
}