GCD and LCM calculator

Calculate the greatest common divisor and least common multiple of two integers.