Find the first element that is greater than or or equal to given element
if v . count ( arr [ i ] ) > 0 : NEW_LINE INDENT it = v [ v . index ( arr [ i ] ) ] NEW_LINE DEDENT else : NEW_LINE INDENT it = v [ n - 1 ] NEW_LINE DEDENT