Input (grade 9): Usually, the musket is thought to be the weapon that replaced the arquebus, and was in turn replaced by the rifle.
Output (grade 7): The musket is the weapon that replaced the arquebus, and was then replaced by the rifle.