Finding LCM