Light And Shadow

Description
Light and Shadow is a binary determination puzzle in which the cells in a grid are split into shaded and unshaded cells.

Rules
The objective is to divide the grid into shaded and unshaded cells, subject to the following rules:
 * 1) Each region contains one number with an area equal to that number.
 * 2) Numbers in white cells are part of white regions; numbers in gray cells are part of gray regions.
 * 3) Same colored regions cannot share an edge.

Example
A standard 10x10 light and shadow and its solution.