Problem p02831 (python)

Fixed submission:
A, B=[int(i) for i in input().split()]

def gcd(a, b):
	while b:
		a, b = b, a % b
	return a
def lcm(a, b):
	return a * b // gcd (a, b)
  
print(lcm(A,B))

Buggy submission (verdict: Runtime Error):
a, b=[int(i) for i in input().split()]

import math  
z= (a * b)/math.gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):
a, b=[int(i) for i in input().split()]
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
import math  
z= (a * b)/math.gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):
a, b=[int(i) for i in input().split()]
from math import *
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a * b)/gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):
a, b=[int(i) for i in input().split()]
from math import *
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a * b)/gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):

a, b=[int(i) for i in input().split()]
from math import *
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a * b)/math.gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):

a,b=[int(i) for i in input().split()]
from math import *
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a * b)/math.gcd(a, b)
print(int(z))

Buggy submission (verdict: Runtime Error):

a,b=[int(i) for i in input().split()]
from math import *
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a*b)/math.gcd(a,b)
print(int(z))

Buggy submission (verdict: Runtime Error):
from math import *
a,b=[int(i) for i in input().split()]
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a*b)/math.gcd(a,b)
print(int(z))

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a*b)/math.gcd(a,b)
print(int(z))

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
#def lcm(x,y):
    #return (x*y) // math.gcd(x,y)

  
  
z= (a*b) // math.gcd(a,b)
print(z)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x,y):
    return int((x*y) / math.gcd(x,y))

  
  
z=lcm(a,b) 
print(z)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x,y):
    return int((x*y) / math.gcd(x,y))

  
  
m=lcm(a,b) 
print(m)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm1(x,y):
    return (x*y) // math.gcd(x,y)

  
  
m=lcm1(a,b) 
print(m)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm1(x, y):
    return (x * y) // math.gcd(x, y)

  
  
m=lcm1(a,b) 
print(m)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

  
  
m=lcm(a,b) 
print(m)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

  
  
m=lcm(a, b)  
print(m)

Buggy submission (verdict: Runtime Error):
import math
a, b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

m=lcm(a, b)  
#print(m)

Buggy submission (verdict: Runtime Error):
import math
a, b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

m=lcm(a,b)  
#print(m)

Buggy submission (verdict: Runtime Error):
import math
a, b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

m=lcm(a, b)  
print(m)

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // gcd(x, y)

print(lcm(a, b))

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

print(lcm(a, b))

Buggy submission (verdict: Runtime Error):
import math
a,b=[int(i) for i in input().split()]
print(math.gcd(a, b))

Buggy submission (verdict: Runtime Error):
a,b=[int(i) for i in input().split()]
import math
print(math.gcd(a, b))

Buggy submission (verdict: Runtime Error):
a,b=[int(i) for i in input().split()]
print(math.gcd(a, b))