Input (grade 13): By the start of the 18th century, a lighter version of the musket had edged out the arquebus, and the addition of the bayonet edged out the pike, and almost all infantry became musketeers.
Output (grade 7): By the start of 1700's, a lighter type of musket took over from the arquebus. When the bayonet was added, there was no longer a need for pikemen, and almost all infantry soldiers became musketeers.