chandan's submission of Query over Matrix | CodeChef