Input: Article: On February 18, 1966, Kerry enlisted in the Naval Reserve. He began his active duty military service on August 19, 1966. After completing 16 weeks of Officer Candidate School at the U.S. Naval Training Center in Newport, Rhode Island, Kerry received his officer's commission on December 16, 1966. During the 2004 election, Kerry posted his military records at his website, and permitted reporters to inspect his medical records. In 2005, Kerry released his military and medical records to the representatives of three news organizations, but has not authorized full public access to those records.

Now answer this question: How long was Officer Candidate School?

Output: 16 weeks

Input: Article: After the 1948 election, the state turned firmly Republican. Although registered Republicans were a minority in the state until 2015, starting in 1952, Oklahoma has been carried by Republican presidential candidates in all but one election (1964). This is not to say that every election has been a landslide for Republicans: Jimmy Carter lost the state by less than 1.5% in 1976, while Michael Dukakis and Bill Clinton both won 40% or more of the state's popular vote in 1988 and 1996 respectively. Al Gore in 2000, though, was the last Democrat to even win any counties in the state. Oklahoma was the only state where Barack Obama failed to carry any of its counties in both 2008 and 2012.

Now answer this question: Who was the last Democratic presidential candidate to win any counties in Oklahoma?

Output: Al Gore

Input: Article: Following Garreth Mallory's promotion to M, on a mission in Mexico City unofficially ordered by a posthumous message from the previous M, 007 James Bond kills three men plotting a terrorist bombing during the Day of the Dead and gives chase to Marco Sciarra, an assassin who survived the attack. In the ensuing struggle, Bond steals his ring, which is emblazoned with a stylised octopus, and then kills Sciarra by kicking him out of a helicopter. Upon returning to London, Bond is indefinitely suspended from field duty by M, who is in the midst of a power struggle with C, the head of the privately-backed Joint Intelligence Service, consisting of the recently merged MI5 and MI6. C campaigns for Britain to form alongside 8 other countries "Nine Eyes ", a global surveillance and intelligence co-operation initiative between nine member states, and uses his influence to close down the '00' section, believing it to be outdated.

Now answer this question: Who is M's rival?

Output:
C