#830. [Ctsc2013]因式分解

[Ctsc2013]因式分解

Description

image

Format

Input!

image

Output

image

Samples

8x^7-258x^5+2112x^3-512x
8(x-4)^2(x-1/2)x(x+1/2)(x+4)^2

Limitation

image