Solved Beta 2010 task in PHP - comment