Rosetta Problems

Yet Another AB Problem

https://atcoder.jp/contests/arc170/tasks/arc170_a