Kevin Sun's submission of Common Ancestors | CodeChef