XY's submission of Sonya and Tree | CodeChef