During the past fifteen years, Bill, Dan, Frank, Roy, and Sam
each have been players in only three of the following five baseball teams:
Cubs, Giants, Orioles, Tigers, and Yankees. Similarly, during the past 15
years, each of these teams has three of these five players as members. Dan
has never played for the Orioles. Frank has never played for the Tigers.
Sam has never played for the Yankees and the Tigers. Two of the players
never played for the Cubs and the Giants. Name the teams that each of these
players has played during the past 15 years.