The product of F-spaces with P-spaces