The research funds of a certain company were divided among three departments, X, Y, and Z. Which one of the three departments received the greatest proportion of the research funds?
(1)The research funds received by departments X and Y were in the ratio 3 to 5, respectively.
(2)The research funds received by departments X and Z were in the ratio 2 to 1, respectively.