Question: How long has Nakayama been president of Sega when he was looking for a flagship series to compete with Mario? Passage 1:On 28 July 2012, Jin won the gold medal in the men's 10 m air pistol at the 2012 Summer Olympics. On 5 August, he won the gold medal in the 50m, becoming the first man to successfully defend the 50-metre pistol Olympic title. By doing so, Jin also became the first man to win the 10 metre air pistol and 50 metre pistol gold medals at the same Olympics, and one of the five shooters to win two individual gold medals at one Olympics, being the first man to have done so since Otto Olsen of Norway at the 1920 Summer Olympics. He is one of three shooters to have won three Olympic individual gold medals, along with Ralf Schumann of Germany and Kim Rhode of the United States. He became the first Korean athlete to win three individual Olympic gold medals, to win four (and five) individual Olympic medals, to defend an individual title in the Summer Olympics (while Sim Kwon-Ho won Olympic gold medals for Greco-Roman wrestling in 1996 and 2000, he won two different weight divisions), to win two individual gold medals at one Summer Olympic Games and to win an individual medal for one event at three consecutive Olympic Games (Kim Soo-Nyung won individual gold, silver and bronze medals respectively for archery in the 1988, 1992 and 2000 but these Olympics were non-consecutive).
 Passage 2:Randall enlisted as a private in the 4th Pennsylvania Volunteer Infantry in the April 1861. He then accepted appointment to the 4th U.S. Infantry as second lieutenant in October. He served in New York and Washington, D.C., and in the field with the Army of the Potomac. He was a second lieutenant at the Siege of Yorktown, Battle of Gaines' Mill, Battle of Malvern Hill, Second Bull Run (where he commanded Company C), and Fredericksburg; and a first lieutenant at the Battle of the Wilderness. He was appointed a brevet captain for gallant service in the Battle of Antietam. He served as a major in the 14th New York Heavy Artillery Regiment, part of Major General Ambrose Burnside's IX Corps on the Richmond-Petersburg Front in 1864, and was commander of the regiment at the Battle of the Crater. The Dansville Advertiser reported on 7 September that he assumed command of the regiment on 18 August. This article also reports that he was wounded in the battle on 19 August. He was appointed a brevet lieutenant colonel, and then colonel for gallantry in the Battle of Fort Stedman. He mustered out of the Volunteer service on 26 August, and was appointed captain in the 4th US Infantry on 23 September 1865. Subsequently, he served at Davids' Island Military Reservation, New York Harbor, where he was in December 1867.
 Passage 3:In 1990, Sega president Hayao Nakayama sought a flagship series to compete with Nintendo's Mario franchise along with a character to serve as a company mascot. Several character designs were submitted as part of a contest. Among the designs was an egg-shaped man wearing pajamas who resembled Theodore Roosevelt, drawn by Naoto Ohshima. According to Ohshima, the resemblance to Roosevelt was unintentional, saying he was influenced by a variety of characters. Retrospective sources have indicated Ohshima based the character on Humpty Dumpty and Mario. The Roosevelt lookalike did not win the contest; rather, another Ohshima character, a hedgehog named Mr. Needlemouse—later renamed Sonic—prevailed. As development of the Sega Genesis game Sonic the Hedgehog progressed, however, programmer Yuji Naka and the rest of Sonic Team thought the rejected design was excellent and deserved inclusion in the game. Since the character could not be the protagonist, the team retooled him into the game's main antagonist.

Output: 3