Create GCD or LCM of variety number.c