Anatomy

A 35-year-old patient has a small but painful tumour under the nail of the little finger. Which of the following nerves would have to be anaesthetized for a painless removal of the tumor?