Takes string input containing two integers and calculates the greatest common denominator using the Euclidean algorithm.