What type of reflex is initiated when the body encounters something painful on the skin that results in the contraction of flexor muscles to pull away from the painful stimulus?
A. withdrawal reflex
B. crossed extensor reflex
C. stretch reflex
D. patellar reflex