Minimum Common Multiple Leetcode Playground Python