A servlet to compute the GCD or LCM.
First val:
Second val:
Result: