描述
输入三个不超过100的正整数,求它们的最小公倍数。
输入
一行,三个不超过100的正整数
输出
三个整数的最小公倍数
样例输入
4 6 8样例输出
24来源
Guo wei
s=input().split() a=int(s[0]) b=int(s[1]) c=int(s[2]) max_num=max(a,b,c) for i in range(max_num,a*b*c+1): if(i%a==0 and i%b==0 and i%c==0): print(i) break