Input: Hyder Ali asked the rulers of Cochin and of Travancore to pay tribute as vassal states. Cochin was asked to pay a total of Rs. 400,000 and ten elephants, while Travancore was asked to pay Rs. 1,500,000 and thirty elephants. The Cochin royals agreed to pay the amount and accepted the Mysore's superiority. Finally, Malabar and Cochin came under the Mysore rule, opening Malabar Coast to the kings of Mysore.  However the King of Travancore, who was under the protection of the East India Company, refused to pay the tribute. Eventually the Mysore army began to move to Travancore from the north. The Dutch military garrison at Cranganore Fort tried to stall the movement. Hyder Ali asked his commander Sardar Khan to take an army of 10,000 along the Cochin Kingdom. In August 1776, Cochin was invaded from the north and the fort at Trichur was captured. After the surrender of the ruler of Cochin, Hyder advanced to the Travancore Defence Lines . By this time Airoor and Chetuva Fort were ceded to Mysore. Meanwhile, the Dutch, with the help of the Travancore Nair Army, put down an attempt by the Mysore forces to capture the Cranganore Fort. The ruler of Cranganore, however surrendered to Hyder Ali, though the Dutch stormed his palace and captured it in January 1778.

Question: How many years passed between the fort at Trichur was captured and the Dutch stormed the ruler of Cranganore's palace?


Input: As of the census of 2010, there were 47,723 people, 17,816 households, and 11,722 families residing in the city. The population density was 1,754.6/sq mi (677.5/km²).  There were 19,806 housing units at an average density of 749.9 per square mile (289.6/km²).  The racial makeup of the city was 38.32% White (U.S. Census), 57.25% African American (U.S. Census), 1.25% Native American (U.S. Census), 1.85% Asian, 0.14% Pacific Islander (U.S. Census), 1.03% from Race (United States Census), and 1.09% from two or more races.  6.98% of the population were Hispanics in the United States or Latino (U.S. Census) of any race.

Question: Which race had the smallest percentage of people?


Input: Coming off a season-sweeping road win over the Jets, the Bills went home for a Week 9 intraconference duel with the Cincinnati Bengals.  with rookie QB Trent Edwards out for a sore right wrist, J. P. Losman got the chance to reclaim his starting job. In the first quarter, Buffalo drew first blood with Losman completing an 8-yard TD pass to WR Lee Evans that was initially ruled incomplete.  The Bengals would respond with QB Carson Palmer completing a 15-yard TD pass to WR T. J. Houshmandzadeh.  In the second quarter, the Bills went back into the lead with kicker Rian Lindell getting a 23-yard field goal.  However, Cincinnati immediately responded with WR/KR Glenn Holt returning the kickoff 100 yards for a touchdown.  Buffalo ended the half with Lindell kicking a 21-yard field goal. In the third quarter, the Bills went back to work with Lindell getting a 21-yard field goal.  However, the Bengals answered with Palmer completing a 1-yard TD pass to FB Jeremi Johnson.  Fortunatenly, in the fourth quarter, Buffalo began its final assault with Lindell nailing a 38-yard field goal.  Afterwards, rookie RB Marshawn Lynch was a key player as he threw an 8-yard TD pass to TE Robert Royal on a trick play, along with getting his best run of the year with a 56-yard TD run. With the win, not only did the Bills improve to 4-4, but they have won three-straight games for the first time since 2004. Losman ended the day completing 24 out of 34 passes for 295 yards with a touchdown and an interception.  Meanwhile, Lynch finally managed to get not only his first 100-yard game, but also his first 150-yard game.  He ended the day with 29 carries for 153 yards and a touchdown, along with his touchdown pass.

Question: How many field goals were there between 20 and 30 yards?


Input: The United States Census Bureau estimates that the population of Tennessee was 6,715,984 on July 1, 2017, an increase of 369,689 people since the 2010 United States Census, or 5.8%. This includes a natural increase since the last census of 124,385 people (that is 584,236 births minus 459,851 deaths), and an increase from net migration of 244,537 people into the state. Immigration to the United States from outside the United States resulted in a net increase of 66,412 people, and migration within the country produced a net increase of 178,125 people.

Question:
How many of the population increase was not attributed to a natural increase?