Rosetta Problems

Fishing

https://atcoder.jp/contests/abc274/tasks/abc274_f