xxxxxxxxxx
def bezout(a, b):
s = 0
old_s = 1
t = 1
old_t = 0
r = b
old_r = a
while r != 0:
quotient = old_r//r
old_r, r = r, old_r - quotient*r
old_s, s = s, old_s - quotient*s
old_t, t = t, old_t - quotient*t
return [old_r, old_s, old_t]
a = int(input("Enter your first number: "))
n = int(input("Enter your secound number: "))
if a >= n:
print(bezout(a, n))
else:
print(bezout(n, a))