def _take_first(elem: tuple) -> int:
    """
    Returns the first element of a tuple of ints.
    
    >>> _take_first( (1,2) )
    1
    >>> _take_first( (2,1) )
    2
    >>> _take_first( (1,1) )
    1
    """
    return elem[0]