A patient presents with a unilateral throbbing headache, photophobia, and excessive lacrimation. He also complains of hemifacial pain on the clenching of teeth. On examination, pupillary reaction, light reflex, and accommodation reflex are normal. Which of the following marked nerves is involved in the above scenario?