Anatomy

A patient tries to make a fist but the index and middle finger remain partially extended. The nerve most probably involved is