Novel solution of the integrable system describing the resonant interaction of three waves