To find GCD and LCM using modular functions.
1. Read two numbers. 2. Use function to compute GCD. 3. Compute LCM.