Count the number of steps for anumbers from the range [ L , R ]
for i in range ( l , r + 1 ) : NEW_LINE INDENT if ( v [ i ] == - 1 ) : NEW_LINE INDENT power_value ( i ) NEW_LINE DEDENT DEDENT j = 0 NEW_LINE