Is there a closed formula for the solution of Dirichlet problem ($\Delta u=0$) for annulus $r <|x| < R$, $x \in R^n$ (n>2), with two given boundary value functions, $f$ over $|x|=r$ and $g$ over $|x|=R$?

If the answer is yes, please give the formula or a reference for it.