
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=2\ln x-x^{2}+ax$ ($a \in \mathbb{R}$),  
(I) When $a=2$, find the equation of the tangent line to the graph of $f(x)$ at $x=1$;  
(II) If the function $g(x)=f(x)-ax+m$ has two zeros on the interval $\left[\frac{1}{e},e\right]$, find the range of the real number $m$.

Present the answer in LaTex format: \boxed{Your answer}
user