/**
 * This function takes a string as input and returns a tuple containing the characters present at both even and odd indices.
 *
 * @param string A string to create the tuple from (length <= 100)
 * @return A tuple containing the characters present at even indices followed by the characters present at odd indices.
 */
fun createTupleFromString(string: String): Pair<String, String> {

    var evenChars = ""
    var oddChars = ""

    // Loop through each character in the string
    for (i in string.indices) {
        // Check if the index is even
        if (i % 2 == 0) {
            evenChars += string[i]
        } else {
            // Check if the index is odd
            oddChars += string[i]
        }
    }

    return Pair(evenChars, oddChars)
}
/**
 * This function takes a string as input and returns a tuple containing the characters present at both even and odd indices.
 *
 * @param string A string to create the tuple from (length <= 100)
 * @return A tuple containing the characters present at even indices followed by the characters present at odd indices.
 */
fun createTupleFromString(string: String): Pair<String, String> {
/**
 * This function takes a string as input and returns a tuple containing the characters present at both even and odd indices.
 *
 * @param string A string to create the tuple from (length <= 100)
 * @return A tuple containing the characters present at even indices followed by the characters present at odd indices.
 */
fun createTupleFromString(string: String): Pair<String, String> {

    var evenChars = ""
    var oddChars = ""

    // Loop through each character in the string
    for (i in string.indices) {
        // Check if the index is even
        if (i % 2 == 0) {
            evenChars += string[i]
        } else {
            // Check if the index is odd
            oddChars += string[i]
        }
    }

    return Pair(evenChars, oddChars)
}