This element can be inserted to the left of the previous element , only if it is lesser than the previous element and in the range .
elif ( arr [ i ] < arr [ i - 1 ] and arr [ i ] > min and arr [ i ] < max ) : NEW_LINE