Rosetta Problems

Smallest Frame

https://atcoder.jp/contests/awc0143/tasks/awc0143_a