from typing import Iterable
from typing import Any


def head(it: Iterable[Any]) -> Any:
    """
    Get top of iterable object

    Args:
        it: Iterable object

    Examples:
        >>> fpsm.head([1, 2, 3])
        1
        >>> fpsm.head(range(1, 11))
        1
    """
    return next(iter(it))