Rosetta Problems

Planes on a 2D Plane(★7)

https://atcoder.jp/contests/typical90/tasks/typical90_by