Dividing a Chocolate

ZOJ - 2705