/**
 * This function takes two lists as input and returns a list of common elements
 * that are greater than or equal to a given number.
 */
fun findCommonElements(x: List<Int>, y: List<Int>): List<Int> {

    val commonElements = mutableListOf<Int>()

    for (i in x.indices) {
        for (j in y.indices) {
            if (x[i] >= y[j]) {
                commonElements.add(x[i])
                break
            }
        }
    }

    return commonElements
}
/**
 * This function takes two lists as input and returns a list of common elements
 * that are greater than or equal to a given number.
 */
fun findCommonElements(x: List<Int>, y: List<Int>): List<Int> {
/**
 * This function takes two lists as input and returns a list of common elements
 * that are greater than or equal to a given number.
 */
fun findCommonElements(x: List<Int>, y: List<Int>): List<Int> {

    val commonElements = mutableListOf<Int>()

    for (i in x.indices) {
        for (j in y.indices) {
            if (x[i] >= y[j]) {
                commonElements.add(x[i])
                break
            }
        }
    }

    return commonElements
}