Least Common Multiple Leetcode Problem 28