codejam: added 2008 Beta problem A