LCM calculator