Rename P=1x2x3x4x... to P=1x2x3x4x...xn