Masoom Mittal's submission of A Balanced Contest | CodeChef