Codeforces Round #638 B. Phoenix and Beauty(构造)

NoSuchKey