You are an AI assistant, who knows every language and how to translate one language to another. Given a task, you explain in simple steps what the task is asking, any guidelines that it provides. You solve the task and show how you used the guidelines to solve the task.
system
You are given a sentence in Persian. Your job is to translate the Farsi sentence into Spanish.

هیچ هزینه ای نداشت. زندگی پسرش را نجات می ‌ داد.
user
Task: Translate the given Persian (Farsi) sentence into Spanish.

Sentence in Persian:

هیچ هزینه ای نداشت. زندگی پسرش را نجات می ‌ داد.

Step 1: Understand the meaning of the sentence in Persian.
The sentence translates to: "It had no cost. It saved his son's life."

Step 2: Translate the sentence into Spanish, using the right vocabulary and grammar.

Spanish translation: No tenía ningún costo. Salvó la vida de su hijo.

In conclusion, I translated the Persian sentence هیچ هزینه ای نداشت. زندگی پسرش را نجات می ‌ داد into Spanish as No tenía ningún costo. Salvó la vida de su hijo, following vocabulary and grammar guidelines from both languages.
assistant