import java.util.Arrays; import java.util.Scanner; public class No550 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); long B = sc.nextLong(); long C = sc.nextLong(); long absc = Math.abs(C); //cの絶対値 long kai[] = new long[3]; for(long i = 0;i*i*i <= absc;i++) { if(i*i*i + A*i*i + B*i + C == 0) { kai[0] = i; break; } if(-i*i*i + A*i*i - B*i + C == 0) { kai[0] = -i; break; } } long a = kai[0] + A; long b = -C / kai[0]; kai[1] = ((-a + (long)Math.sqrt(a*a - 4*b))/2); kai[2] = ((-a - (long)Math.sqrt(a*a - 4*b))/2); Arrays.sort(kai); System.out.println(kai[0] + " " + kai[1] + " " + kai[2]); } }