https://atcoder.jp/contests/abc220/tasks/abc220_b?lang=en