/**
 * Concatenates two tuples t1 and t2 n number of times.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @param n The number of times to repeat the concatenation.
 * @return The concatenated tuple repeated n times.
 */
fun concatenateTuples(t1: List<Any>, t2: List<Any>, n: Int): List<Any> {

    var result = emptyList<Any>()
    repeat(n) {
        result += t1 + t2
    }
    return result
}
/**
 * Concatenates two tuples t1 and t2 n number of times.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @param n The number of times to repeat the concatenation.
 * @return The concatenated tuple repeated n times.
 */
fun concatenateTuples(t1: List<Any>, t2: List<Any>, n: Int): List<Any> {
/**
 * Concatenates two tuples t1 and t2 n number of times.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @param n The number of times to repeat the concatenation.
 * @return The concatenated tuple repeated n times.
 */
fun concatenateTuples(t1: List<Any>, t2: List<Any>, n: Int): List<Any> {

    var result = emptyList<Any>()
    repeat(n) {
        result += t1 + t2
    }
    return result
}