def first_int(*args, default=1):
    """Parse the first integer from an iterable of string arguments."""
    
    for arg in args:
        
        try:
            return int(arg)
        except ValueError:
            continue
    
    return default