Robervaldo raised ducks. One day a man came to his farm and offered him $ 200 per duck and $ 50 per egg. In total Robervaldo had 12 ducks. However, 2 of them were pet friendly, so he decided not to sell them. The other ducks were sold. How many dollars did he get from this sale?
* challenge sent by user Lorena Della Torre.