def gcd(a: int, b: int) -> int:
    """Get greater common divisor (GCD) of two numbers

    Args:
        a, b: Numbers

    Returns:
        GCD of a and b

    Examples:
        >>> gcd(16, 28)
        4
    """
    return gcd(b, a % b) if b else a