How to find LCM using Ladder Method?