Rosetta Problems

Just K

https://atcoder.jp/contests/abc249/tasks/abc249_c