
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

Randomly select a permutation \(\sigma = \left(x_{1}, x_{2}, \ldots, x_{n}\right)\) of \(1, 2, \ldots, n\). If \(x_{i} = i\), then \(i\) is called a fixed point of \(\sigma\). Let the number of fixed points in the permutation be denoted as the random variable \(X_{n}\). Find the expectation \(E\left(X_{n}\right)\) of \(X_{n}\).

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