Added ICPC 2010 - Mad Scientist solution.