#include <map>
#include <iostream>
#include <stdio.h>
using std::map;
int main() {
map<int, int> mp;
printf("%d ", mp.size());
mp.insert(std::pair<int, int>(10, mp.size()));
printf("%d ", mp.size());
printf("%d\n", mp[10]);
return 0;
}
I2luY2x1ZGUgPG1hcD4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RkaW8uaD4KCnVzaW5nIHN0ZDo6bWFwOwoKaW50IG1haW4oKSB7CiAgbWFwPGludCwgaW50PiBtcDsKICBwcmludGYoIiVkICIsIG1wLnNpemUoKSk7CiAgbXAuaW5zZXJ0KHN0ZDo6cGFpcjxpbnQsIGludD4oMTAsIG1wLnNpemUoKSkpOwogIHByaW50ZigiJWQgIiwgbXAuc2l6ZSgpKTsKICBwcmludGYoIiVkXG4iLCBtcFsxMF0pOwoKICByZXR1cm4gMDsKfQ==