
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
A company's candies are labeled as $500g$ per pack, but the company admits that there is an error in the actual weight. It is known that the actual weight $X$ of the candies follows a normal distribution with $\mu = 500$. If the probability of the weight error exceeding $5$ grams is $p$, then the value of $P\left(495\leqslant X\leqslant 500\right)$ is ______. (Express using an algebraic expression involving $p$).

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