http://www.grantjenks.com/docs/sortedcontainers/sorteddict.html
Anonymous
When in doubt, use brute force.