Tiancheng Lou's submission of Sereja and Pairs | CodeChef