Collaborating in Competitive Environments