Question: Classify the following cartridge types by whether they are typically used in a pistol or a rifle: 9mm, .40 S&W, 5.56mm NATO, .45 ACP, 7.62mm NATO, 6.5mm Creedmoor, 6.5mm Grendel,  .357 Magnum
Complexity rating: 0.8