user: input: During the Seven Years' War, Cook served in North America as master aboard the fourth-rate Navy vessel HMS Pembroke. With others in Pembroke's crew, he took part in the major amphibious assault that captured the Fortress of Louisbourg from the French in 1758, and in the siege of Quebec City in 1759. Throughout his service he demonstrated a talent for surveying and cartography, and was responsible for mapping much of the entrance to the Saint Lawrence River during the siege, thus allowing General Wolfe to make his famous stealth attack during the 1759 Battle of the Plains of Abraham.  Cook's surveying ability was also put to use in mapping the jagged coast of Newfoundland in the 1760s, aboard HMS Grenville. He surveyed the north-west stretch in 1763 and 1764, the south coast between the Burin Peninsula and Cape Ray in 1765 and 1766, and the west coast in 1767. At this time Cook employed local pilots to point out the "rocks and hidden dangers" along the south and west coasts. During the 1765 season, four pilots were engaged at a daily pay of 4 shillings each: John Beck for the coast west of "Great St Lawrence", Morgan Snook for Fortune Bay, John Dawson for Connaigre and Hermitage Bay, and John Peck for the "Bay of Despair".  His five seasons in Newfoundland produced the first large-scale and accurate maps of the island's coasts and were the first scientific, large scale, hydrographic surveys to use precise triangulation to establish land outlines. They also gave Cook his mastery of practical surveying, achieved under often adverse conditions, and brought him to the attention of the Admiralty and Royal Society at a crucial moment both in his career and in the direction of British overseas discovery. Cook's map would be used into the 20th century--copies of it being referenced by those sailing Newfoundland's waters for 200 years.  Following on from his exertions in Newfoundland, it was at this time that Cook wrote that he intended to go not only "farther than any man has been before me, but as far as I think it is possible for a man to go".

Answer this question "Did he find anything interesting there?"
output: the Admiralty and Royal Society at a crucial moment both in his career and in the direction of British overseas discovery.

input: The ranks of the Peerage in most of the United Kingdom are, in descending order of rank, duke, marquess, earl, viscount and baron; the female equivalents are duchess, marchioness, countess, viscountess and baroness respectively.  In the Scottish peerage, the lowest rank is lordship of Parliament, the male holder thereof being known as a lord of Parliament. A Scottish barony is a feudal rank, and not of the Peerage. The barony by tenure or feudal barony in England and Wales was similar to a Scottish feudal barony, in being hereditary, but is long obsolete, the last full summons of the English feudal barons to military service having occurred in 1327. The Tenures Abolition Act 1660 finally quashed any remaining doubt as to their continued status.  Peerage dignities are created by the Sovereign by either writs of summons or letters patent. Under modern constitutional conventions, no peerage dignity, with the possible exception of those given to members of the Royal Family, would be created except upon the advice of the Prime Minister.  Many peers hold more than one hereditary title; for example, the same individual may be a duke, an earl, a viscount and a baron by virtue of different peerages. If such a person is entitled to sit in the House of Lords, he still only has one vote. However, until the House of Lords Act 1999 it was possible for one of the peer's subsidiary titles to be passed to his heir before his death by means of a writ of acceleration, in which case the peer and his heir would have one vote each. Where this is not done, the heir may still use one of the father's subsidiary titles as a "courtesy title", but he is not considered a peer.

Answer this question "Are there other titles or ranks?"
output: the female equivalents are duchess, marchioness, countess, viscountess and baroness respectively.

input: In 1978, Vai sent both a notated transcription of Frank Zappa's "The Black Page", and a recording of his college band, Morning Thunder, to Zappa. Impressed by this, Zappa responded by putting Vai on salary as a transcriptionist to transcribe his work, which included pieces from the Joe's Garage and Shut Up 'n Play Yer Guitar albums. After leaving Berklee College of Music and moving to California, Vai auditioned for and became a full-time member of Zappa's band, going on his first tour with Zappa in the fall of 1980. Zappa often referred to Vai as his "little Italian virtuoso", and Vai is frequently listed in the liner notes of Zappa's albums as having performed "stunt" or "impossible" guitar parts.  Vai was a featured artist on the 1993 release Zappa's Universe, and in 2006, Vai appeared as a special guest on Dweezil Zappa's Zappa Plays Zappa tour; both projects won Vai a Grammy Award.  After moving on from Zappa's employ in 1983, Vai bought a house in Sylmar, Los Angeles, where he built his first professional studio. During this period, Vai formed two bands (The Classified and 777) as well as writing and recording a large amount of music that was not originally intended for release. Out of this material, Vai compiled his first studio album Flex-Able. He created his own record label, Akashic Records (later Light Without Heat Records), which he used to take Flex-Able directly to distribution channels. Flex-Able was released in January 1984.  Vai began his rise to public acclaim in 1983 when, shortly before the release of Flex-Able, his composition "The Attitude Song" was published in Guitar Player magazine. The song centered itself on a main guitar riff in the time signature 7/16, played over a rhythm section centered in 4/4. Each following section of the song showcased a number of specialized techniques (such as two-handed tapping, whammy bar acrobatics, sweep picking, alternate picking, multi-part harmonies, and odd phrasing) used in angular and exaggerated ways that were unique to the song at the time. Interest from the public eye grew more so when Vai's song "Blue Powder" (a demonstration for the Carvin X100b amplifier) was published in Guitar Player as well, which showed the virtuoso side of Vai's compositional process. Also in 1986, Vai was cast in the blockbuster film Crossroads as the Devil's guitar player "Jack Butler". In the famous "duel scene" between Vai and Ralph Macchio's characters, Vai wrote and performed all guitar parts with the exception of the slide guitar, which was performed by Ry Cooder.  In between solo work, Vai replaced Yngwie Malmsteen in June 1984 as the lead guitarist of Alcatrazz, with whom he recorded the album Disturbing the Peace. Vai left shortly after the subsequent tour to join David Lee Roth's band.

Answer this question "How long did he do this?"
output:

assistant: After leaving Berklee College of Music and moving to California, Vai auditioned for and became a full-time member of Zappa's band,