Zach Polansky's submission of Coprime Components | CodeChef