Aniket gupta's submission of Nasty Queries | CodeChef