Input: Article: International teams also play friendlies, generally in preparation for the qualifying or final stages of major tournaments. This is essential, since national squads generally have much less time together in which to prepare. The biggest difference between friendlies at the club and international levels is that international friendlies mostly take place during club league seasons, not between them. This has on occasion led to disagreement between national associations and clubs as to the availability of players, who could become injured or fatigued in a friendly.

Now answer this question: What do friendlies help international teams prepare for?

Output: the qualifying or final stages of major tournaments

Input: Article: Maharaja Ranjit Singh's death in the summer of 1839 brought political chaos and the subsequent battles of succession and the bloody infighting between the factions at court weakened the state. Relationships with neighbouring British territories then broke down, starting the First Anglo-Sikh War; this led to a British official being resident in Lahore and the annexation in 1849 of territory south of the Satluj to British India. After the Second Anglo-Sikh War in 1849, the Sikh Empire became the last territory to be merged into British India. In Jhelum 35 British soldiers of HM XXIV regiment were killed by the local resistance during the Indian Rebellion of 1857.[citation needed]

Now answer this question: What was the last territory added to British India?

Output: the Sikh Empire

Input: Article: A gymnast's score comes from deductions taken from their start value. The start value of a routine is based on the difficulty of the elements the gymnast attempts and whether or not the gymnast meets composition requirements. The composition requirements are different for each apparatus; this score is called the D score. Deductions in execution and artistry are taken from 10.0. This score is called the E score. The final score is calculated by taking deductions from the E score, and adding the result to the D score. Since 2007, the scoring system has changed by adding bonus plus the execution and then adding those two together to get the final score.

Now answer this question: How are gymnasts scored?

Output:
from deductions taken from their start value