27 AC

Just use map<string int>