/**
 * Given two lists of materials and quantities, return a list with the updated quantities.
 *
 * @param materials List of materials.
 * @param quantities List of corresponding quantities.
 * @return List with the updated quantities of materials.
 *
 * The quantities of each material should be incremented by 1 and returned in a new list.
 *
 * Example:
 * updateMaterialQuantities(listOf("wood", "stone", "glass"), listOf(5, 10, 15)) // [6, 11, 16]
 */
fun updateMaterialQuantities(materials: List<String>, quantities: List<Int>): List<Int> {

    val updatedQuantities = mutableListOf<Int>()
    for (quantity in quantities) {
        updatedQuantities.add(quantity + 1)
    }
    return updatedQuantities
}
/**
 * Given two lists of materials and quantities, return a list with the updated quantities.
 *
 * @param materials List of materials.
 * @param quantities List of corresponding quantities.
 * @return List with the updated quantities of materials.
 *
 * The quantities of each material should be incremented by 1 and returned in a new list.
 *
 * Example:
 * updateMaterialQuantities(listOf("wood", "stone", "glass"), listOf(5, 10, 15)) // [6, 11, 16]
 */
fun updateMaterialQuantities(materials: List<String>, quantities: List<Int>): List<Int> {
/**
 * Given two lists of materials and quantities, return a list with the updated quantities.
 *
 * @param materials List of materials.
 * @param quantities List of corresponding quantities.
 * @return List with the updated quantities of materials.
 *
 * The quantities of each material should be incremented by 1 and returned in a new list.
 *
 * Example:
 * updateMaterialQuantities(listOf("wood", "stone", "glass"), listOf(5, 10, 15)) // [6, 11, 16]
 */
fun updateMaterialQuantities(materials: List<String>, quantities: List<Int>): List<Int> {

    val updatedQuantities = mutableListOf<Int>()
    for (quantity in quantities) {
        updatedQuantities.add(quantity + 1)
    }
    return updatedQuantities
}