Rosetta Problems

Who is Missing?

https://atcoder.jp/contests/abc392/tasks/abc392_b