/**
 * Given a list of carpenter tools and a list of new tools, append the new tools to the existing list and return the updated list.
 *
 * @param carpenterTools List of existing carpenter tools.
 * @param newElements List of new tools to be appended.
 * @return Updated list of carpenter tools with the new elements.
 */
fun appendNewElements(carpenterTools: MutableList<String>, newElements: List<String>): List<String> {

    carpenterTools.addAll(newElements)
    return carpenterTools
}

// Example usage
/**
 * Given a list of carpenter tools and a list of new tools, append the new tools to the existing list and return the updated list.
 *
 * @param carpenterTools List of existing carpenter tools.
 * @param newElements List of new tools to be appended.
 * @return Updated list of carpenter tools with the new elements.
 */
fun appendNewElements(carpenterTools: MutableList<String>, newElements: List<String>): List<String> {
/**
 * Given a list of carpenter tools and a list of new tools, append the new tools to the existing list and return the updated list.
 *
 * @param carpenterTools List of existing carpenter tools.
 * @param newElements List of new tools to be appended.
 * @return Updated list of carpenter tools with the new elements.
 */
fun appendNewElements(carpenterTools: MutableList<String>, newElements: List<String>): List<String> {

    carpenterTools.addAll(newElements)
    return carpenterTools
}

// Example usage