Input: Article: As of 2000[update], there were 9,045 pupils in Bern who came from another municipality, while 1,185 residents attended schools outside the municipality.

Now answer this question: How many pupils lived in another municipality?

Output: 9,045

Input: Article: The original early 19th-century interior designs, many of which survive, include widespread use of brightly coloured scagliola and blue and pink lapis, on the advice of Sir Charles Long. King Edward VII oversaw a partial redecoration in a Belle Epoque cream and gold colour scheme. Many smaller reception rooms are furnished in the Chinese regency style with furniture and fittings brought from the Royal Pavilion at Brighton and from Carlton House. The palace has 775 rooms, and the garden is the largest private garden in London. The state rooms, used for official and state entertaining, are open to the public each year for most of August and September, and on selected days in winter and spring.

Now answer this question: How many rooms does the palace have?

Output: 775 rooms

Input: Article: As the 20th century came to a close, Gaddafi increasingly rejected Arab nationalism, frustrated by the failure of his Pan-Arab ideals; instead he turned to Pan-Africanism, emphasising Libya's African identity. From 1997 to 2000, Libya initiated cooperative agreements or bilateral aid arrangements with 10 African states, and in 1999 joined the Community of Sahel-Saharan States. In June 1999, Gaddafi visited Mandela in South Africa, and the following month attended the OAU summit in Algiers, calling for greater political and economic integration across the continent and advocating the foundation of a United States of Africa. He became one of the founders of the African Union (AU), initiated in July 2002 to replace the OAU; at the opening ceremonies, he proclaimed that African states should reject conditional aid from the developed world, a direct contrast to the message of South African President Thabo Mbeki. At the third AU summit, held in Libya in July 2005, he called for a greater level of integration, advocating a single AU passport, a common defence system and a single currency, utilising the slogan: "The United States of Africa is the hope." In June 2005, Libya joined the Common Market for Eastern and Southern Africa (COMESA), and in August 2008 Gaddafi was proclaimed "King of Kings" by an assembled committee of traditional African leaders. On 1 February 2009, his "coronation ceremony" was held in Addis Ababa, Ethiopia, coinciding with Gaddafi's election as AU chairman for a year.

Now answer this question: What organization did Libya join in 1999?

Output:
Community of Sahel-Saharan States