SPOJ Added Divide Equally CANDY 3