#$%^&*AU2014200224A120140904.pdf#####APPARATUS FOR ENDOSCOPIC PROCEDURES ABSTRACT An electromechanical surgical device (10) includes an end effector (400) configured to perform at least one function, the end effector (400) including an input drive axle (426) projecting therefrom; and a shaft assembly (200). The shaft assembly (200) includes a rotatable drive shaft (212); a proximal neck housing (232) supported at a distal end of an outer tube (210); a distal neck housing (236) pivotally connected to the proximal neck housing (232); a pivot pin (234) interconnecting the proximal neck housing (232) and the distal neck housing (236); and a gear train (238) supported in the proximal neck housing (232), on the pivot pin (234), and in the distal neck housing (236). The gear train (238) includes a proximal gear (238a); an intermediate gear (238b); a distal gear (238c); and a pair of output gears (239a, 239b), wherein each output gear (239a, 239b) defines a coupling socket (239ai, 239bi) each configured to selectively receive the drive axle (426) of the end effector (400).1/18 CN CC% CC=