【Codeforces Round #589 (Div. 2) D】Complete Tripartite

NoSuchKey