/**
 * Takes start, stop, and step values as input.
 * Returns a list containing numbers from start to stop (inclusive) with the given step.
 */
fun rangeFunction(start: Int, stop: Int, step: Int): List<Int> {

    return (start..stop step step).toList()
}

/**
 * Takes a list of numbers, a target number, start value, stop value, and step value as input.
 * Checks if all the numbers in the given list are greater than or equal to the target number.
 */
fun checkNumbers(list: List<Int>, target: Int, start: Int, stop: Int, step: Int): Boolean {
    val rangeList = rangeFunction(start, stop, step)
    return list.all { it >= target } && list.all { it in rangeList }
}
/**
 * Takes start, stop, and step values as input.
 * Returns a list containing numbers from start to stop (inclusive) with the given step.
 */
fun rangeFunction(start: Int, stop: Int, step: Int): List<Int> {
/**
 * Takes start, stop, and step values as input.
 * Returns a list containing numbers from start to stop (inclusive) with the given step.
 */
fun rangeFunction(start: Int, stop: Int, step: Int): List<Int> {

    return (start..stop step step).toList()
}

/**
 * Takes a list of numbers, a target number, start value, stop value, and step value as input.
 * Checks if all the numbers in the given list are greater than or equal to the target number.
 */
fun checkNumbers(list: List<Int>, target: Int, start: Int, stop: Int, step: Int): Boolean {
    val rangeList = rangeFunction(start, stop, step)
    return list.all { it >= target } && list.all { it in rangeList }
}