Input: In 1505 the Mamluk Sultan Qansuh al-Ghuri ordered the first expedition against the Portuguese.The fleet was built with timber and weapons from the Ottoman Empire, and crews and shipwrights were recruited throughout the eastern Mediterranean. The expedition, under Amir Husain Al-Kurdi, left Suez in November and travelled by sea to Jidda, where they fortified the city. The fleet then prepared itself to go to Aden. This coincided with the dispatch of the 7th Portuguese India Armada into the Indian Ocean, under Francisco de Almeida. In 1506, another fleet under Afonso de Albuquerque started to raid the coasts of Arabia and the Horn of Africa, after defeating a Muslim fleet. In 1507, a fleet of about 20 Portuguese ships entered the Red Sea and raided Indian shipping there, bringing the Mamluk Indian trade to near collapse. The Portuguese attempted to establish a base at Socotra in 1507 in order to stop the Mamluk trade through the Red Sea, but the island proved too inhospitable and was ineffective in that role, so that the Portuguese left after a few months. In August-September 1507, the Mamluk fleet of about 50 vessels was stationed at Aden, preparing to go to India.

Question: For how many months was a Mamluk fleet stationed at Aden while preparing to go to India?

Input: Hoping to maintain their winning streak the Ravens flew to Paul Brown Stadium for an AFC North rivalry match against the Bengals. In the 2nd quarter Baltimore trailed early as kicker Mike Nugent hit a 36 and a 30-yard field goal. In the third quarter the Ravens replied and took the lead with QB Joe Flacco completing a 31-yard TD pass to WR Derrick Mason. The Bengals replied when Nugent hit a 46-yard field goal. The Ravens took the lead back in the fourth quarter when kicker Billy Cundiff got a 38-yard field goal, but it was cut off by Nugent's 38 and 25-yard field goal, giving Baltimore a loss.

Question: In what quarter were the most field goals kicked?

Input: In week 16, the Lions flew back to Florida, this time to play the Miami Dolphins. The Lions took an early lead with a 39-yard field goal by Dave Rayner. The Dolphins tied it up with a 40-yard field goal by Dan Carpenter. In the second quarter, the Lions took the lead when Brandon Pettigrew caught a 20-yard touchdown pass. The Dolphins tied it up with a 4-yard rush by Lousaka Polite. Miami took the lead with a 13-yard TD catch by Davone Bess. After halftime, the Lions tied it back up with a 5-yard TD rush by Maurice Morris. The Dolphins responded with a 1-yard TD run by Ronnie Brown. Miami added to their lead with a 28-yard field goal. The Lions then scored 17 unanswered points. First Jahvid Best caught a 53-yard TD pass. Then Dave Rayner kicked a 47-yard field goal. They sealed their win when DeAndre Levy intercepted a Chad Henne pass and ran it back 30 yards for a touchdown. With the win not only did the Lions improve to 5-10, but it was their first back-to-back road victories since 2004, and first three-game winning streak since 2007.

Question: How many yards long was the shortest field goal?

Input: The period of the grandiose expansion of Sweden met its limits in two wars: the Great Northern War which ended in the Treaty of Nystad in 1721 and the Hat's War with the Treaty of Turku in 1743. Sweden lost all its provinces in the Baltic region, and a portion of eastern Finland to Russia. The Valaam Monastery was re-established in Lake Ladoga, and a new main church was consecrated in 1719. Monks returned to Konevsky Monastery before 1716. The Russian government favoured the activities of the religion they had professed for many centuries. The Emperors and Empresses paid for the reconstruction of burnt or otherwise demolished churches. The Orthodox population of Eastern Finland again had access to making pilgrimages to the monasteries of Solovetsk and Alexander-Svirsky. The Old Believers, a schismatic group of Russians who did not accept the religious reforms of patriarch Nikon in 1666-67, were excommunicated from the Orthodox Church and fled to the outskirts of Russia. They also moved into the remote areas of Finland building three small monasteries there. However, the activity of these monasteries stopped during the following century.

Question:
Which was did Sweden participate first in, the Great Northern War or the Hat's War?