The second ring cost 2*10000=$<<2*10000=20000>>20,000
He sells the first ring for 10,000/2=$<<10000/2=5000>>5000
So he is out of pocket 10000-5000=$<<10000-5000=5000>>5000
So that means he is out of pocket 20,000+5000=$<<20000+5000=25000>>25,000
#### 25000