The ping pong balls cost 10000*.10=$<<10000*.10=1000>>1000
So the discount is 1000*.30=$<<1000*.30=300>>300
So he pays 1000-300=$<<1000-300=700>>700.
#### 700