/**
 * An archaeologist wants to find the subtraction of two tuples.
 * Given two tuples of integers, find the elements that are unique to the first tuple after performing subtraction.
 *
 * @param tup1 first tuple of integers
 * @param tup2 second tuple of integers
 * @return A tuple containing the elements that are unique to the first tuple after performing subtraction.
 *
 * Example:
 * The function findTupleSubtraction(listOf(1, 2, 3, 4), listOf(2, 3, 5, 6)) should return listOf(1, 4)
 */
fun findTupleSubtraction(tup1: List<Int>, tup2: List<Int>): List<Int> {

    val uniqueElements = mutableListOf<Int>()
    for (element in tup1) {
        if (element !in tup2) {
            uniqueElements.add(element)
        }
    }
    return uniqueElements
}
/**
 * An archaeologist wants to find the subtraction of two tuples.
 * Given two tuples of integers, find the elements that are unique to the first tuple after performing subtraction.
 *
 * @param tup1 first tuple of integers
 * @param tup2 second tuple of integers
 * @return A tuple containing the elements that are unique to the first tuple after performing subtraction.
 *
 * Example:
 * The function findTupleSubtraction(listOf(1, 2, 3, 4), listOf(2, 3, 5, 6)) should return listOf(1, 4)
 */
fun findTupleSubtraction(tup1: List<Int>, tup2: List<Int>): List<Int> {
/**
 * An archaeologist wants to find the subtraction of two tuples.
 * Given two tuples of integers, find the elements that are unique to the first tuple after performing subtraction.
 *
 * @param tup1 first tuple of integers
 * @param tup2 second tuple of integers
 * @return A tuple containing the elements that are unique to the first tuple after performing subtraction.
 *
 * Example:
 * The function findTupleSubtraction(listOf(1, 2, 3, 4), listOf(2, 3, 5, 6)) should return listOf(1, 4)
 */
fun findTupleSubtraction(tup1: List<Int>, tup2: List<Int>): List<Int> {

    val uniqueElements = mutableListOf<Int>()
    for (element in tup1) {
        if (element !in tup2) {
            uniqueElements.add(element)
        }
    }
    return uniqueElements
}