def greatest_common_divisor(a: int, b: int) -> int:
    while b:
        a, b = b, a % b
    return a
from typing import List
def below_zero(operations: List[int]) -> bool:
    balance = 0
    for op in operations:
        balance += op
        if balance < 0:
            return True
    return False