return gcd(b,a%b)def lcm(a,b):return a//gcd(a,b)*b a=random.randint(1,100)b=random.randint(1,100)c=random.randint(1,100)print(a,b,c,gcd(gcd(a,b),c),lcm(lcm(a,b),c))