Willem, Chtholly and Seniorious

CodeForces - 896C