Which cranial nerves are involved in smelling vs tasting?

Smelling: Cranial nerve I (olfactory nerve)

Tasting: Cranial nerves VII (facial nerve), IX (glossopharyngeal nerve), and X (vagus nerve)