Instruction: If I give you a list of weapons, can you break them into melee and ranged. The list is knife, bow, axe, shotgun, mace, whip, rifle and cannon.

Response: Melee weapons include the knife, axe, mace and whip. Ranged weapons include the bow, shotgun, rifle and cannon.