Kang's submission of Nasty Queries | CodeChef