z1j1n1's submission of A Balanced Contest | CodeChef