Solution (source code)

= Solution

The first exchange removes one red ball from urn 1 and replaces it with a blue ball. Hence \b[$R_1=n-1$ with probability one].