/**
 * This exercise requires adding elements to both a list and a set.
 *
 * Given a list 'lst' and a set 's', the function should add the following elements to both the list and set:
 * - The string 'apple'
 * - The integer 42
 * - The float 3.14
 * - The boolean value true
 *
 * The function should return the modified list and set.
 *
 * Example:
 * ----------
 * Input:
 * lst = mutableListOf(1, "orange", false)
 * s = mutableSetOf(2, "banana")
 *
 * Output:
 * Modified list: [1, "orange", false, "apple", 42, 3.14, true]
 * Modified set: ["apple", true, "banana", 42, 2, "orange", false]
 */
fun addElementsToListAndSet(lst: MutableList<Any>, s: MutableSet<Any>): Pair<MutableList<Any>, MutableSet<Any>> {

    lst.add("apple")
    lst.add(42)
    lst.add(3.14)
    lst.add(true)

    s.add("apple")
    s.add(42)
    s.add(3.14)
    s.add(true)

    return Pair(lst, s)
}
/**
 * This exercise requires adding elements to both a list and a set.
 *
 * Given a list 'lst' and a set 's', the function should add the following elements to both the list and set:
 * - The string 'apple'
 * - The integer 42
 * - The float 3.14
 * - The boolean value true
 *
 * The function should return the modified list and set.
 *
 * Example:
 * ----------
 * Input:
 * lst = mutableListOf(1, "orange", false)
 * s = mutableSetOf(2, "banana")
 *
 * Output:
 * Modified list: [1, "orange", false, "apple", 42, 3.14, true]
 * Modified set: ["apple", true, "banana", 42, 2, "orange", false]
 */
fun addElementsToListAndSet(lst: MutableList<Any>, s: MutableSet<Any>): Pair<MutableList<Any>, MutableSet<Any>> {
/**
 * This exercise requires adding elements to both a list and a set.
 *
 * Given a list 'lst' and a set 's', the function should add the following elements to both the list and set:
 * - The string 'apple'
 * - The integer 42
 * - The float 3.14
 * - The boolean value true
 *
 * The function should return the modified list and set.
 *
 * Example:
 * ----------
 * Input:
 * lst = mutableListOf(1, "orange", false)
 * s = mutableSetOf(2, "banana")
 *
 * Output:
 * Modified list: [1, "orange", false, "apple", 42, 3.14, true]
 * Modified set: ["apple", true, "banana", 42, 2, "orange", false]
 */
fun addElementsToListAndSet(lst: MutableList<Any>, s: MutableSet<Any>): Pair<MutableList<Any>, MutableSet<Any>> {

    lst.add("apple")
    lst.add(42)
    lst.add(3.14)
    lst.add(true)

    s.add("apple")
    s.add(42)
    s.add(3.14)
    s.add(true)

    return Pair(lst, s)
}