/**
 * This function performs multiplication assignment on a container with a given number
 * and checks if the container contains the result.
 *
 * @param container The container to perform multiplication assignment on.
 * @param number The number to multiply the container elements by.
 * @return True if the container contains the result of multiplication assignment, False otherwise.
 */
fun multiplyAndCheck(container: MutableList<Int>, number: Int): Boolean {

    // Perform multiplication assignment on the container
    // TODO: Complete the code by adding the multiplication assignment operator
    container.forEachIndexed { index, value -> container[index] = value * number }

    // Check if the result of multiplication assignment is in the container
    // TODO: Complete the code by adding the check using the 'in' statement
    val result = container.any { it == number }
    
    return result
}
/**
 * This function performs multiplication assignment on a container with a given number
 * and checks if the container contains the result.
 *
 * @param container The container to perform multiplication assignment on.
 * @param number The number to multiply the container elements by.
 * @return True if the container contains the result of multiplication assignment, False otherwise.
 */
fun multiplyAndCheck(container: MutableList<Int>, number: Int): Boolean {
/**
 * This function performs multiplication assignment on a container with a given number
 * and checks if the container contains the result.
 *
 * @param container The container to perform multiplication assignment on.
 * @param number The number to multiply the container elements by.
 * @return True if the container contains the result of multiplication assignment, False otherwise.
 */
fun multiplyAndCheck(container: MutableList<Int>, number: Int): Boolean {

    // Perform multiplication assignment on the container
    // TODO: Complete the code by adding the multiplication assignment operator
    container.forEachIndexed { index, value -> container[index] = value * number }

    // Check if the result of multiplication assignment is in the container
    // TODO: Complete the code by adding the check using the 'in' statement
    val result = container.any { it == number }
    
    return result
}