3151 - [Ctsc2013]因式分解

Input

Output

Examples

Input

8x^7-258x^5+2112x^3-512x 

Output

8(x-4)^2(x-1/2)x(x+1/2)(x+4)^2 
Time Limit 1 second
Memory Limit 128 MB
Stats
上一题 下一题