/**
 * This function takes in a target value and a list. It returns the index of the target value in the list,
 * using break and continue statements.
 *
 * @param target The value to be found in the list.
 * @param lst The list to be searched.
 * @return Index of the target value in the list, or -1 if not found.
 */
fun findTargetIndex(target: Int, lst: List<Int>): Int {

    var index = -1

    for (i in lst.indices) {
        if (lst[i] == target) {
            index = i
            break
        } else if (lst[i] < target) {
            continue
        } else {
            index = -1
            break
        }
    }

    return index
}
/**
 * This function takes in a target value and a list. It returns the index of the target value in the list,
 * using break and continue statements.
 *
 * @param target The value to be found in the list.
 * @param lst The list to be searched.
 * @return Index of the target value in the list, or -1 if not found.
 */
fun findTargetIndex(target: Int, lst: List<Int>): Int {
/**
 * This function takes in a target value and a list. It returns the index of the target value in the list,
 * using break and continue statements.
 *
 * @param target The value to be found in the list.
 * @param lst The list to be searched.
 * @return Index of the target value in the list, or -1 if not found.
 */
fun findTargetIndex(target: Int, lst: List<Int>): Int {

    var index = -1

    for (i in lst.indices) {
        if (lst[i] == target) {
            index = i
            break
        } else if (lst[i] < target) {
            continue
        } else {
            index = -1
            break
        }
    }

    return index
}