Least Common Multiple Leetcode Problem 54321