If $p$, $q$ and $r$ are positive integers and $p + \displaystyle\frac{1}{q + \displaystyle\frac{1}{r}} = \frac{129}{31}$ then what is the value of $p + q + r$?
I tried getting a common denominator, but nothing seems to work as the correct answer is an actual number