/**
 * Given a list of numbers, find the maximum value using conditional statements and the 'if' statement.
 */
fun getMaximumValue(numbers: List<Int>): Int {

    // Initialize the maximum value as the first element of the list
    var maximumValue = numbers[0]
    
    // Iterate through the remaining elements of the list
    for (num in numbers.subList(1, numbers.size)) {
        // Check if the current number is greater than the maximum value
        if (num > maximumValue) {
            // If true, update the maximum value
            maximumValue = num
        }
    }
    
    return maximumValue
}
/**
 * Given a list of numbers, find the maximum value using conditional statements and the 'if' statement.
 */
fun getMaximumValue(numbers: List<Int>): Int {
/**
 * Given a list of numbers, find the maximum value using conditional statements and the 'if' statement.
 */
fun getMaximumValue(numbers: List<Int>): Int {

    // Initialize the maximum value as the first element of the list
    var maximumValue = numbers[0]
    
    // Iterate through the remaining elements of the list
    for (num in numbers.subList(1, numbers.size)) {
        // Check if the current number is greater than the maximum value
        if (num > maximumValue) {
            // If true, update the maximum value
            maximumValue = num
        }
    }
    
    return maximumValue
}