You will be given a definition of a task first, then some input of the task.
In this task, you are given a question and a context passage. You have to answer the question based on the given passage.

Who did Nicomedes I inherit from?, Context: The Bithynians were a Thracian people living in northwest Anatolia. After Alexander's conquests the region of Bithynia came under the rule of the native king Bas, who defeated Calas, a general of Alexander the Great, and maintained the independence of Bithynia. His son, Zipoetes I of Bithynia maintained this autonomy against Lysimachus and Seleucus I, and assumed the title of king (basileus) in 297 BCE. His son and successor, Nicomedes I, founded Nicomedia, which soon rose to great prosperity, and during his long reign (c. 278 – c. 255 BCE), as well as those of his successors, the kingdom of Bithynia held a considerable place among the minor monarchies of Anatolia. Nicomedes also invited the Celtic Galatians into Anatolia as mercenaries, and they later turned on his son Prusias I, who defeated them in battle. Their last king, Nicomedes IV, was unable to maintain himself against Mithridates VI of Pontus, and, after being restored to his throne by the Roman Senate, he bequeathed his kingdom by will to the Roman republic (74 BCE).
Output:
Bas