Input: Article: Suddhodana was determined to see his son become a king, so he prevented him from leaving the palace grounds. But at age 29, despite his father's efforts, Gautama ventured beyond the palace several times. In a series of encountersknown in Buddhist literature as the four sightshe learned of the suffering of ordinary people, encountering an old man, a sick man, a corpse and, finally, an ascetic holy man, apparently content and at peace with the world. These experiences prompted Gautama to abandon royal life and take up a spiritual quest.

Now answer this question: What did Gautama do after learning about the outside world?

Output: abandon royal life

Input: Article: Ptolemy, a somatophylax, one of the seven bodyguards who served as Alexander the Great's generals and deputies, was appointed satrap of Egypt after Alexander's death in 323 BC. In 305 BC, he declared himself King Ptolemy I, later known as "Soter" (saviour) for his role in helping the Rhodians during the siege of Rhodes. Ptolemy built new cities such as Ptolemais Hermiou in upper Egypt and settled his veterans throughout the country, especially in the region of the Faiyum. Alexandria, a major center of Greek culture and trade, became his capital city. As Egypt's first port city, it was the main grain exporter in the Mediterranean.

Now answer this question: When did Alexander die and Ptolemy assume his position?

Output: 323 BC

Input: Article: Executive power is vested, with exceptions and qualifications, in the President. By law (Section 2.) the president becomes the Commander in Chief of the Army and Navy, Militia of several states when called into service, has power to make treaties and appointments to office "with the Advice and Consent of the Senate," receive Ambassadors and Public Ministers, and "take care that the laws be faithfully executed" (Section 3.) By using these words, the Constitution does not require the president to personally enforce the law; rather, officers subordinate to the president may perform such duties. The Constitution empowers the president to ensure the faithful execution of the laws made by Congress and approved by the President. Congress may itself terminate such appointments, by impeachment, and restrict the president. Bodies such as the War Claims Commission, the Interstate Commerce Commission and the Federal Trade Commissionall quasi-judicialoften have direct Congressional oversight.

Now answer this question: Who has the authority to make treaties?

Output:
the President