Pairs or Pears

Twelve pairs hanging high,
Twelve knights riding by,
Each knight took a pear,
And yet left a dozen there.