You will be given a definition of a task first, then some input of the task.
In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.

passage: Manuel Valls was appointed to lead the government in a cabinet reshuffle in March 2014, after the ruling Socialists suffered a bruising defeat in local elections. However, he resigned on 6 December 2016, to stand in the French Socialist Party presidential primary, 2017 and Bernard Cazeneuve was appointed as Prime Minister later that day by President Francois Hollande. Cazeneuve resigned on 10 May 2017. Edouard Philippe was named his successor on 15 May 2017.
question: does france have a president and a prime minister?
Output:
Yes