/**
 * This function takes a number and a string as input and multiplies each character in the string by the given number.
 *
 * @param num The number to multiply the characters with.
 * @param string The input string.
 * @return The modified string with each character multiplied by the given number.
 */
fun intersectionOfStringsAndMultiplicationAssignment(num: Int, string: String): String {

    var result = ""
    for (char in string) {
        result += char.toString().repeat(num)
    }
    return result
}
/**
 * This function takes a number and a string as input and multiplies each character in the string by the given number.
 *
 * @param num The number to multiply the characters with.
 * @param string The input string.
 * @return The modified string with each character multiplied by the given number.
 */
fun intersectionOfStringsAndMultiplicationAssignment(num: Int, string: String): String {
/**
 * This function takes a number and a string as input and multiplies each character in the string by the given number.
 *
 * @param num The number to multiply the characters with.
 * @param string The input string.
 * @return The modified string with each character multiplied by the given number.
 */
fun intersectionOfStringsAndMultiplicationAssignment(num: Int, string: String): String {

    var result = ""
    for (char in string) {
        result += char.toString().repeat(num)
    }
    return result
}