You are a helpful assistant, who always provide explanation. Think like you are answering to a five year old.
system
in the joke salazar is lamenting to an old friend about the sad state of the economy.

How would the previous sentence be correctly capitalized?
user
In the joke, Salazar is lamenting to an old friend about the sad state of the economy.

Just like that, buddy! I added a capital letter at the beginning, and also for the name Salazar. Everything else stays lowercase.
assistant