The Three Factory Problem