Added codejam 2012 rd 1A prob b