Rosetta Problems

ハヌマーンの試練

https://atcoder.jp/contests/yuha-c88/tasks/yuha_c88_b