Mohammad Asad Ansari's submission of A Balanced Contest | CodeChef