7 lines
151 B
Python
7 lines
151 B
Python
'''****** Задание ********
|
||
*НОК.
|
||
'''
|
||
a, b = a1, b1 = int(input()), int(input())
|
||
while a != 0:
|
||
a, b = b % a, a
|
||
print(a1 * b1 // (a + b)) |