from typing import Iterable
from typing import Any
from functools import reduce


def concat(*it: Iterable[Any]) -> Any:
    """
    Concatenation of iterable objects

    Args:
        it: Iterable object

    Examples:
        >>> fpsm.concat([1, 2, 3], [4, 5, 6])
        [1, 2, 3, 4, 5, 6]
    """
    return reduce(lambda x, y: x + y, map(list, it))