/**
 * Given a tuple 't' and an integer 'n', this function checks if all elements in the tuple are divisible by 'n'.
 * Return true if all elements are divisible by 'n', otherwise return false.
 */
fun isDivisibleByN(t: List<Int>, n: Int): Boolean {

    for (element in t) {
        if (element % n != 0) {
            return false
        }
    }
    return true
}
/**
 * Given a tuple 't' and an integer 'n', this function checks if all elements in the tuple are divisible by 'n'.
 * Return true if all elements are divisible by 'n', otherwise return false.
 */
fun isDivisibleByN(t: List<Int>, n: Int): Boolean {
/**
 * Given a tuple 't' and an integer 'n', this function checks if all elements in the tuple are divisible by 'n'.
 * Return true if all elements are divisible by 'n', otherwise return false.
 */
fun isDivisibleByN(t: List<Int>, n: Int): Boolean {

    for (element in t) {
        if (element % n != 0) {
            return false
        }
    }
    return true
}