Escape problem: determine if there is a path for each unit to escape a grid.

Analyze the escape problem: determine if there is a path for each unit to escape a grid..

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Escape problem: determine if there is a path for each unit to escape a grid.

Analyze the escape problem: determine if there is a path for each unit to escape a grid..