give rational number 2 / 7 , 3 / 14 , 5 / 3 make pair as a numerator and denominator
vect . append ( ( 2 , 7 ) ) NEW_LINE vect . append ( ( 3 , 14 ) ) NEW_LINE vect . append ( ( 5 , 3 ) ) NEW_LINE lcmOfRationals ( vect ) NEW_LINE