human
Write a python function to find element at a given index after number of rotations. Here is a solution in Python:
assistant
#Here is Python code to find element at a given index after number of rotations.
 def find_Element(arr,ranges,rotations,index) :  
    for i in range(rotations - 1,-1,-1 ) : 
        left = ranges[i][0] 
        right = ranges[i][1] 
        if (left <= index and right >= index) : 
            if (index == left) : 
                index = right 
            else : 
                index = index - 1 
    return arr[index]