Ivan's submission of Sonya and Queries | CodeChef