Question: How many years was Fiji an independent kingdom before it became a British Colony? Passage 1:In 1560 or 1561 Buchanan returned to Scotland, and by April 1562 was installed as tutor to the young Mary, Queen of Scots, who read Livy with him daily. Although he had remained Catholic throughout his support of the new learning and his strident criticism of the vices of the clergy, he now openly joined the Protestants Reformed Church and in 1566 was appointed principal of St Leonard's College, St Andrews, by the Earl of Moray. Two years before, he had received from the queen the gift of the revenues of Crossraguel Abbey. Though a layman, he was made Moderator of the General Assembly of the Church of Scotland in 1567. He had sat in the assemblies from 1563. He was the last lay person to be elected Moderator until Alison Elliot in 2004, the first female Moderator.
 Passage 2:The Royals drew first blood in a back-and-forth opener that featured high offensive output from both teams. After hitting just three home runs in the regular season, Alcides Escobar hit a one-out homer to left to give the Royals a 1–0 lead. Later in the inning, with the bases loaded, Alex Gordon hit a broken bat, looping fly ball that dropped just fair inside the right-field line to plate all three runners. Suddenly, it was 4–0 Kansas City. Baltimore got a run back in the bottom of the inning on Adam Jones' RBI-single, but it could have been more had it not been for a great diving catch by Gordon in the left-center field gap, robbing Steven Pearce of a hit. In the bottom of the fifth, after the Royals added a run in the top of the frame, the Orioles finally got to James Shields. Nelson Cruz added to his postseason legacy with an RBI-double and Ryan Flaherty delivered a two-run single to make it a one-run game, 5–4. In the sixth, after a walk to Jonathan Schoop and a flare single to right by Nick Markakis, Alejandro De Aza hit a high chopper past the pitcher's mound that shortstop Escobar had no play on; Schoop scored to tie the game. Jones hit what appeared to be a double play ball, but Mike Moustaskas' relay throw short-hopped first baseman Eric Hosmer and the inning continued to bring up Cruz. He could not deliver the big hit this time as he rolled into an inning-ending double play.
 Passage 3:The majority of Fiji's islands formed through volcanic activity starting around 150 million years ago. Some geothermal activity still occurs today, on the islands of Vanua Levu and Taveuni. The geothermal systems on Viti Levu are non-volcanic in origin, with low-temperature (c. 35–60 degrees Celsius) surface discharges. Sabeto Hot Springs near Nadi is a good example. Humans have lived in Fiji since the second millennium BC—first Austronesians and later Melanesians, with some Polynesian influences. Europeans visited Fiji from the 17th century onwards, and, after a brief period as an independent kingdom, the British established the Colony of Fiji in 1874. Fiji operated as a Crown colony until 1970, when it gained independence as the Dominion of Fiji. A military government declared a Republic in 1987 following a series of coups d'état. In a coup in 2006, Commodore Frank Bainimarama seized power. When the High Court ruled the military leadership unlawful in 2009, President Ratu Josefa Iloilo, whom the military had retained as the nominal Head of State, formally abrogated the 1997 Constitution and re-appointed Bainimarama as interim Prime Minister. Later in 2009, Ratu Epeli Nailatikau succeeded Iloilo as President. After years of delays, a democratic election took place on 17 September 2014. Bainimarama's FijiFirst party won 59.2% of the vote, and international observers deemed the election credible.

Output: 3