/**
 * This exercise requires you to create a function that returns a list of numbers greater than a given number, using list initialization.
 */
fun greaterThanWithListInitialization(num: Int, lst: List<Int>): List<Int> {

    // Initialize an empty list
    val result = mutableListOf<Int>()

    // Iterate through each number in the input list
    for (item in lst) {
        // Check if the number is greater than the given number
        if (item > num) {
            // Append the number to the result list
            result.add(item)
        }
    }

    // Return the final result list
    return result
}
/**
 * This exercise requires you to create a function that returns a list of numbers greater than a given number, using list initialization.
 */
fun greaterThanWithListInitialization(num: Int, lst: List<Int>): List<Int> {
/**
 * This exercise requires you to create a function that returns a list of numbers greater than a given number, using list initialization.
 */
fun greaterThanWithListInitialization(num: Int, lst: List<Int>): List<Int> {

    // Initialize an empty list
    val result = mutableListOf<Int>()

    // Iterate through each number in the input list
    for (item in lst) {
        // Check if the number is greater than the given number
        if (item > num) {
            // Append the number to the result list
            result.add(item)
        }
    }

    // Return the final result list
    return result
}