/// A group of friends want to buy a bouquet of flowers.
/// The florist wants to maximize his number of new customers and the money he makes.
/// To do this, he decides he'll multiply the price of each flower by the number of that customer's previously purchased flowers plus 1.
/// The first flower will be original price, (0 + 1) * original_price, the next will be (1 + 1) * original_price and so on.
///
/// Given the size of the group of friends, the number of flowers they want to purchase and the original prices of the flowers, determine the minimum cost to purchase all of the flowers.
///
/// For example, if there are k = 3 friends that want to buy n = 4 flowers that cost c = [1, 2, 3, 4], each will buy one of the flowers priced [2, 3, 4] at the original price.
/// Having each purchased x = 1 flower, the first flower in the list, c[0], will now cost (current_purchase + previous_purchase) * c[0] = (1 + 1) * 1 = 2.