def take(arr: list, n: int) -> list:
    """
    Accepts a list/array and a number n,
    and returns a list/array array of the
    first n elements from the list/array.

    :param arr:
    :param n:
    :return:
    """

    return arr[:n]