Anatomy

Following an incised wound in the front of wrist, the subject is unable to oppose the tips of the little finger and the thumb. The nerves involved is/are: