from typing import Union
from typing import Iterable
from typing import Sequence


def evenodd(inpt: Union[Iterable, Sequence]) -> tuple:
    """
    Returns a tuple containg all (even items, odd items) from 'inpt' 
    ----------------------------------------------------------------
    Parameter(s)
    ------------
    inpt: any type of iterable sequence with any level/depth of nesting
    """
    eveseq = tuple(ele[1] for ele in enumerate(inpt) if ele[0] % 2 == 0)
    oddseq = tuple(ele[1] for ele in enumerate(inpt) if ele[0] % 2 != 0)
    return (eveseq, oddseq)