Input format
The first line contains the type of discount (Linear, Progressive, Threshold). 14pt; "> The second line contains the basic percentage of discounts (an integer from 0 to 50).
The third line contains the minimum amount for the use of discounts (an integer). 14pt; "> The fourth line contains the amount of goods.
Further lines with the prices of goods (integers)
Output format
The final prices of goods after applying the discount, sorted by increasing, each price on a new line. Prices are rounded to entire numbers
Hint
There will be no clue here, decide for yourself!