/**
 * This function calculates the total material cost for a given design list.
 *
 * @param design The design list.
 * @param pricePerElement The price of each design element.
 * @return The total material cost of the design.
 */
fun calculateMaterialCost(design: List<Int>, pricePerElement: Float): Float {

    var totalCost = 0.0f
    for (element in design) {
        totalCost += pricePerElement
    }
    return totalCost
}
/**
 * This function calculates the total material cost for a given design list.
 *
 * @param design The design list.
 * @param pricePerElement The price of each design element.
 * @return The total material cost of the design.
 */
fun calculateMaterialCost(design: List<Int>, pricePerElement: Float): Float {
/**
 * This function calculates the total material cost for a given design list.
 *
 * @param design The design list.
 * @param pricePerElement The price of each design element.
 * @return The total material cost of the design.
 */
fun calculateMaterialCost(design: List<Int>, pricePerElement: Float): Float {

    var totalCost = 0.0f
    for (element in design) {
        totalCost += pricePerElement
    }
    return totalCost
}