Rosetta Problems

Leftmost Ball

https://atcoder.jp/contests/agc002/tasks/agc002_f