Add 2009 1C round problem A solution (All Your Base)