I don't think the solution to this problem is as simple as rpz says. In fact, I wrote a short paper about this so, in case if anyone is interested, please check Thm. 3.9 of https://web.math.pmf.unizg.hr/~ilja/preprints/ISTPNSA.pdf