Proof (software principle)

On input, check if $n$ codes a program, else loop forever. If so, decode $m$ and see if it is a $k$-tuple (else loop forever). Then run program defined by $n$ on input $((m)_0, \ldots, (m)_{k-1})$. If it halts, output $r$ the contents of $R_1$, otherwise keep running.