Buggy python submission (verdict: Runtime Error):
x, y = [int(i) for i in input().split(" ")]

num = []
if x > y:
    z = x % y
    for zzz in range(z + 1):
        if z % zzz == 0 and x % zzz == 0:
            num.append(zzz)
            print(max(num))
elif y > x:
    z = y % x
    for zzz in range(z + 1):
        if z % zzz == 0 and y % zzz == 0:
            num.append(zzz) 
            print(max(num))
else:
    print(x)

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))

Buggy python submission (verdict: Runtime Error):
x, y = [int(i) for i in input().split(" ")]
num = []
if x > y:
    z = x % y
    for zzz in range(z + 1):
        if z % zzz == 0 and x % zzz == 0:
            num.append(zzz)
        print(max(num))
elif y > x:
    z = y % x
    for zzz in range(z + 1):
        if z % zzz == 0 and y % zzz == 0:
            num.append(zzz) 
        print(max(num))
else:
    print(x)

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))

Buggy python submission (verdict: Runtime Error):
x, y = [int(i) for i in input().split(" ")]
num = []
if x > y:
    z = x % y
    for zzz in range(z + 1):
        if z % zzz == 0 and x % zzz == 0:
            num.append(zzz)
    print(max(num))
elif y > x:
    z = y % x
    for zzz in range(z + 1):
        if z % zzz == 0 and y % zzz == 0:
            num.append(zzz) 
    print(max(num))
else:
    print(x)

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))

Buggy python submission (verdict: Runtime Error):
x, y = [int(i) for i in input().split(" ")]
num = []
if x >= y:
    z = x % y
    for zzz in range(z + 1):
        if z % zzz == 0 and x % zzz == 0:
            num.append(zzz)
    print(max(num))
elif y > x:
    z = y % x
    for zzz in range(z + 1):
        if z % zzz == 0 and y % zzz == 0:
            num.append(zzz) 
    print(max(num))

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))

Buggy python submission (verdict: Runtime Error):
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(x, x%y)


if __name__ == "__main__":
    x, y = [int(i) for i in input().split(" ")]
    print(gcd(x, y))

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))

Buggy python submission (verdict: Runtime Error):
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(x, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gcd(x, y))

Fixed submission:
def gdc(x, y):
    if x % y == 0:
        return y
    else:
        return gdc(y, x%y)


if __name__ == '__main__':
    x, y = [int(i) for i in input().split(" ")]
    print(gdc(x, y))