/**
 * Given two tuples, tup1 and tup2, where each tuple contains integers, find the missing values in tup2 that are not present in tup1.
 *
 * @param tup1 The first tuple containing integers.
 * @param tup2 The second tuple containing integers.
 * @return A list of integers that are missing in tup2 compared to tup1.
 *
 * Example:
 * missingValues(listOf(1, 2, 3, 4, 5), listOf(1, 2, 3, 6, 7)) returns [4, 5]
 * missingValues(listOf(10, 11, 12), listOf(7, 8, 9)) returns [10, 11, 12]
 */
fun missingValues(tup1: List<Int>, tup2: List<Int>): List<Int> {

    val missingVals = mutableListOf<Int>()

    for (num in tup1) {
        if (num !in tup2) {
            missingVals.add(num)
        }
    }

    return missingVals
}
/**
 * Given two tuples, tup1 and tup2, where each tuple contains integers, find the missing values in tup2 that are not present in tup1.
 *
 * @param tup1 The first tuple containing integers.
 * @param tup2 The second tuple containing integers.
 * @return A list of integers that are missing in tup2 compared to tup1.
 *
 * Example:
 * missingValues(listOf(1, 2, 3, 4, 5), listOf(1, 2, 3, 6, 7)) returns [4, 5]
 * missingValues(listOf(10, 11, 12), listOf(7, 8, 9)) returns [10, 11, 12]
 */
fun missingValues(tup1: List<Int>, tup2: List<Int>): List<Int> {
/**
 * Given two tuples, tup1 and tup2, where each tuple contains integers, find the missing values in tup2 that are not present in tup1.
 *
 * @param tup1 The first tuple containing integers.
 * @param tup2 The second tuple containing integers.
 * @return A list of integers that are missing in tup2 compared to tup1.
 *
 * Example:
 * missingValues(listOf(1, 2, 3, 4, 5), listOf(1, 2, 3, 6, 7)) returns [4, 5]
 * missingValues(listOf(10, 11, 12), listOf(7, 8, 9)) returns [10, 11, 12]
 */
fun missingValues(tup1: List<Int>, tup2: List<Int>): List<Int> {

    val missingVals = mutableListOf<Int>()

    for (num in tup1) {
        if (num !in tup2) {
            missingVals.add(num)
        }
    }

    return missingVals
}