8 lines
125 B
Python
8 lines
125 B
Python
'''****** Задание ********
|
|
*НОД.
|
|
'''
|
|
a = int(input())
|
|
b = int(input())
|
|
while a != 0:
|
|
a, b = b % a, a
|
|
print(b) |