Problem #5

staring to find the LCMs