Smiling and frowning are actions produced by the following nerves:
Mastication; trigeminal (V cranial)
Mastication; facial (VII cranial)
Facial expression; trigeminal (V cranial)
Facial expression; facial (VII cranial)