Calculate the seller's rights
Write a program that receives the number of goods sold by the seller and calculates and prints his / her rights based on the following formula:
Each seller receives 1 USD for the first commodity for selling
If the number of goods sold is more than 1, it will receive 2 USD per additional product