Ancestors in Two Trees | CodeChef