Solution for 1073 ("Square country").
Shortened solution for 1073 ("Square country").