
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
The FISS World Cup is a very popular football event among high school students worldwide. China successfully obtained the hosting rights for the International Middle School Sports Federation (FISS) World Cup in 2024, 2026, and 2028. After actively bidding by Dalian City and official recommendation by the Ministry of Education, Dalian ultimately became the host city for the 2024 FISS World Cup. During the preparation period, the organizing committee commissioned Factory A to produce a certain type of souvenir. The production of this souvenir requires an annual fixed cost of 30,000 yuan. For each x thousand pieces produced, an additional variable cost of P(x) yuan is required. When the annual production is less than 90,000 pieces, P(x) = 1/2x^2 + 2x (in thousand yuan). When the annual production is not less than 90,000 pieces, P(x) = 11x + 100/x - 53 (in thousand yuan). The selling price of each souvenir is 10 yuan. Through market analysis, it is determined that all souvenirs can be sold out in the same year.

$(1)$ Write the analytical expression of the function of annual profit $L(x)$ (in thousand yuan) with respect to the annual production $x$ (in thousand pieces). (Note: Annual profit = Annual sales revenue - Fixed cost - Variable cost)

$(2)$ For how many thousand pieces of annual production does the factory maximize its profit in the production of this souvenir? What is the maximum profit?

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