Least common multiple
์ต์๊ณต๋ฐฐ์
Arr = list(map(int,list(input().split())))
n = 1
while n%Arr[0] or n%Arr[1] or n%Arr[2]:
n += 1
print(n)
Last updated
Was this helpful?
์ต์๊ณต๋ฐฐ์
Arr = list(map(int,list(input().split())))
n = 1
while n%Arr[0] or n%Arr[1] or n%Arr[2]:
n += 1
print(n)
Last updated
Was this helpful?