Anatomy

A 52-year-old male presents to the emergency department complaining of persistent severe right upper quadrant pain for the past 2 hours. During that period of time he felt nauseated, was sweating profusely, and also experienced pain in the posterior aspect of his right shoulder. The pain began shortly after a lunch consisting of "fast food." Ultrasound examination reveals multiple stones in an inflamed gallbladder with a normal bile duct. Which of the following spinal nerve segments are involved in the shoulder pain, associated with cholecystitis?