pranay varma's submission of A Balanced Contest | CodeChef