#!/usr/bin/ python3.8 import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines import numpy as np A, B, C = map(int, read().split()) f = [1, A, B, C] roots = np.roots(f) roots = np.rint(roots).astype(np.int64) ind = np.abs(roots).argsort() roots = roots[ind] roots[2] = -A - roots[:2].sum() roots.sort() print(*roots)