def greatest_common_divisor(a: int, b: int) -> int:
    while b:
        a, b = b, a % b
    return a
def greatest_common_divisor(a: int, b: int) -> int:
    while b:
       
        a, b = b, a % b
    return a