-234. Factorization

I'm a slow walker, but I never walk backwards.

題目來源:judgegirl from ntu prof. pangfeng Liu

Task Description

Write a program to factorize a polynomial. We will be given a polynomial , where all are all integers between -100000 and 100000. Now we want to factorize as , where , , and are all integers, and .

Input

A line containing , , and .

Output

A line containing , , and .

Sample input

12 47 60

Sample output

3 4 5

Submit

Login

Testdata Set

Download Testdata