Solution for http://acmgnyr.org/year2005/a.pdf