Which one of these is one of the only two animals that lay eggs?

A) wombat
B) duck-billed platypus
C) three-toed sloth
D) chicken