原创 Codeforces Round #611 (Div. 3) C題

Friends and Gifts There are n friends who want to give gifts for the New Year to each other. Each friend should giv