Let $' z^{\prime}$ be a complex number such that $z+\frac{1}{z}=1$ and $a=z^{2007}+\frac{1}{z^{2007}}$ and $b$ is the last digit of the number $2^{2^{n}}+1$ where $\mathrm{n}$ is an integer $>1$. Then the value of $\left(a^{2}+b^{2}\right)$ is
(a) 23
(b) 13
(c) 53
(d) 1