/**
 * This function returns a list of values from the given range that are less than the specified number.
 *
 * @param rangeValues a list of numeric values (may contain negative values)
 * @param num an integer specifying the upper limit
 * @return a list of values from rangeValues that are less than num
 *
 * Example:
 * rangeValues = [-5, -3, 0, 2, 4, 6]
 * num = 1
 *
 * Output:
 * [-5, -3, 0]
 */
fun getLessThan(rangeValues: List<Int>, num: Int): List<Int> {

    val lessThanValues = mutableListOf<Int>()
    
    // Filter out the values that are less than the specified number
    for (value in rangeValues) {
        if (value < num) {
            lessThanValues.add(value)
        }
    }
    
    return lessThanValues
}
/**
 * This function returns a list of values from the given range that are less than the specified number.
 *
 * @param rangeValues a list of numeric values (may contain negative values)
 * @param num an integer specifying the upper limit
 * @return a list of values from rangeValues that are less than num
 *
 * Example:
 * rangeValues = [-5, -3, 0, 2, 4, 6]
 * num = 1
 *
 * Output:
 * [-5, -3, 0]
 */
fun getLessThan(rangeValues: List<Int>, num: Int): List<Int> {
/**
 * This function returns a list of values from the given range that are less than the specified number.
 *
 * @param rangeValues a list of numeric values (may contain negative values)
 * @param num an integer specifying the upper limit
 * @return a list of values from rangeValues that are less than num
 *
 * Example:
 * rangeValues = [-5, -3, 0, 2, 4, 6]
 * num = 1
 *
 * Output:
 * [-5, -3, 0]
 */
fun getLessThan(rangeValues: List<Int>, num: Int): List<Int> {

    val lessThanValues = mutableListOf<Int>()
    
    // Filter out the values that are less than the specified number
    for (value in rangeValues) {
        if (value < num) {
            lessThanValues.add(value)
        }
    }
    
    return lessThanValues
}