topcoder; solve "ChocolateDividingEasy" from SRM #636 (Div. 1)