Let $ \mathbf{X}=\left\{X_{1}, X_{2}, \ldots, X_{n}\right\} $ be an independent random sample from the Poisson distribution with parameter $ \theta>0 $. (i) Find the rejection region of the most powerful test for hypotheses: $$ H_{0}: \theta=1 \text { versus } H_{1}: \theta=2 $$ (ii) Find the critical value such that this test has an exact size 0.05.
I could show that the answer to (i) is $\{\sum_{i=1}^nX_i \ge k\}$, but I'm don't know how to compute the exact value of $k$ in (ii). All I could show is that $2n=\chi^2_{\alpha=0.95,df=2k}$