A department manager distributed a number of pens, pencils, and pads among the staff in the department, with each staff member receiving x pens, y pencils, and z pads. How many staff members were in the department?
(1) The numbers of pens, pencils, and pads that each staff member received were in the ratio 2:3:4, respectively.
(2) The manager distributed a total of 18 pens, 27 pencils, and 36 pads.