/**
 * Given a list of floating-point numbers and an integer n, this function returns True if there are n or more repeated numbers in the list, and False otherwise.
 */
fun findRepeatedNumbers(numbers: List<Double>, n: Int): Boolean {

    val repeatedNums = mutableListOf<Double>()
    for (i in numbers.indices) {
        for (j in i + 1 until numbers.size) {
            if (numbers[i] == numbers[j]) {
                repeatedNums.add(numbers[i])
            }
        }
    }
    return repeatedNums.toSet().size >= n
}
/**
 * Given a list of floating-point numbers and an integer n, this function returns True if there are n or more repeated numbers in the list, and False otherwise.
 */
fun findRepeatedNumbers(numbers: List<Double>, n: Int): Boolean {
/**
 * Given a list of floating-point numbers and an integer n, this function returns True if there are n or more repeated numbers in the list, and False otherwise.
 */
fun findRepeatedNumbers(numbers: List<Double>, n: Int): Boolean {

    val repeatedNums = mutableListOf<Double>()
    for (i in numbers.indices) {
        for (j in i + 1 until numbers.size) {
            if (numbers[i] == numbers[j]) {
                repeatedNums.add(numbers[i])
            }
        }
    }
    return repeatedNums.toSet().size >= n
}