An office has as many four legged chairs and as many four legged tables as workers and as many three legged stools as four legged almirahs. If the number of stools be one more than the number of workers and total number of legs be 585. The numbers of members in the office are
(a) 17
(b) 34
(c) 16
(d) Cannot be determined