Ming-Tian Yang's submission of Coprime Components | CodeChef