Trigeminal nerve exits skull

Ophthalmic nerve (V1) Superior orbital fissure
Maxillary nerve (V2) Foramen rotundum
Mandibular nerve (V3) Foramen ovale

The rest of the gang here: Cranial nerves exit from skull