Mayank Khetan's submission of Nasty Queries | CodeChef