From Codeforces. Grid shape recognition. Solve the geometry problem "Vlad and Shapes".
**From Codeforces.** Grid shape recognition. Solve the geometry problem "Vlad and Shapes".