Gennady Korotkevich's submission of Common Ancestors | CodeChef