def find_elements(full_list: list, list_with_values: list) ->list:
    """
    Find occurrences in a list and make a index related.

    TODO: Implement in declative style
    """
    intervals = []
    for x, val in enumerate(full_list):
        for y in list_with_values:
            if y == val:
                intervals.append((x, val))
    return intervals
