/**
 * This function multiplies all elements in the design set by the given integer.
 *
 * @param designSet The set of design elements to be multiplied.
 * @param n The number to multiply the elements by.
 * @return The updated set with multiplied elements.
 */
fun multiplySetByInteger(designSet: Set<Int>, n: Int): Set<Int> {

    val multipliedSet = mutableSetOf<Int>()

    for (element in designSet) {
        multipliedSet.add(element * n)
    }

    return multipliedSet
}
/**
 * This function multiplies all elements in the design set by the given integer.
 *
 * @param designSet The set of design elements to be multiplied.
 * @param n The number to multiply the elements by.
 * @return The updated set with multiplied elements.
 */
fun multiplySetByInteger(designSet: Set<Int>, n: Int): Set<Int> {
/**
 * This function multiplies all elements in the design set by the given integer.
 *
 * @param designSet The set of design elements to be multiplied.
 * @param n The number to multiply the elements by.
 * @return The updated set with multiplied elements.
 */
fun multiplySetByInteger(designSet: Set<Int>, n: Int): Set<Int> {

    val multipliedSet = mutableSetOf<Int>()

    for (element in designSet) {
        multipliedSet.add(element * n)
    }

    return multipliedSet
}