Buggy python submission (verdict: Runtime Error):
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.lcm(a, b)

if __name__ == "__main__":
    main()


Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import numpy as np

def main():
    A, B = list(map(int, input().split()))
    print(np.lcm(A, B))

if __name__ == "__main__":
    main()


Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import numpy as np

def main():
    row_input = input()
    A, B = list(map(int, input().split()))
    print(np.lcm(A, B))

if __name__ == "__main__":
    main()


Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    row_input = input()
    A = int(row_input.split()[0])
    B = int(row_input.split()[1])
    #A, B = list(map(int, input().split()))
    result = lcm(A, B)
    print(result)

def lcm(x, y):
    return int((x * y) / math.gcd(x, y))

if __name__ == "__main__":
    main()


Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    row_input = input()
    A = int(row_input.split()[0])
    B = int(row_input.split()[1])
    #A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(x, y):
    return int((x * y) / math.gcd(x, y))

if __name__ == "__main__":
    main()

Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(x, y):
    return int((x * y) / math.gcd(x, y))

if __name__ == "__main__":
    main()

Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    A, B = map(int, input().split())
    print(lcm(A, B))

def lcm(x, y):
    return int((x * y) / math.gcd(x, y))

if __name__ == "__main__":
    main()

Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    A, B = map(int, input().split())
    print(lcm(A, B))

def lcm(x, y):
    return int((x * y) / math.gcd(x, y))

if __name__ == "__main__":
    main()

Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()

Buggy python submission (verdict: Runtime Error):
import math

def main():
    A, B = map(int, input().split())
    print(lcm(A, B))

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == "__main__":
    main()

Fixed submission:
import fractions

def main():
    A, B = list(map(int, input().split()))
    print(lcm(A, B))

def lcm(a, b):
    return a * b // fractions.gcd(a, b)

if __name__ == "__main__":
    main()