import numpy as np def solve(vec,is_complex=False): dim =len(vec) if is_complex: A = np.zeros((dim,dim),dtype=complex) else: A = np.zeros((dim,dim)) A[np.arange(dim-1),1+np.arange(dim-1)] =1 A[-1,:] = -vec ans,vec = np.linalg.eig(A) return ans a,b,c=map(int,raw_input().split()) vec0 =np.array([c,b,a]) temp=(solve(vec0)) temp.sort() for i in xrange(3): print "%.0f" % temp[i], print