codeflash-internal/experiments/pie_test_set/p02831.py

7 lines
141 B
Python
Raw Permalink Normal View History

def problem_p02831(input_data):
import fractions
a, b = list(map(int, input_data.split()))
return a * b // fractions.gcd(a, b)