/**
 * Given a range with start and stop parameters, divide each number in the range
 * by 3 and return a list of numbers that are divisible by both start and stop.
 */
fun calculateModulus(start: Int, stop: Int): List<Int> {

    // Create an empty list to store the matching numbers
    val matchingNumbers = mutableListOf<Int>()

    // Iterate through the range from start to stop
    for (num in start..stop) {
        // Check if the number is divisible by both start and stop
        if (num % start == 0 && num % stop == 0) {
            // Divide the number by 3
            val dividedNum = num / 3.0

            // Check if the divided number is an integer
            if (dividedNum % 1 == 0.0) {
                // Append the matching number to the list
                matchingNumbers.add(num)
            }
        }
    }

    // Return the list of matching numbers
    return matchingNumbers
}
/**
 * Given a range with start and stop parameters, divide each number in the range
 * by 3 and return a list of numbers that are divisible by both start and stop.
 */
fun calculateModulus(start: Int, stop: Int): List<Int> {
/**
 * Given a range with start and stop parameters, divide each number in the range
 * by 3 and return a list of numbers that are divisible by both start and stop.
 */
fun calculateModulus(start: Int, stop: Int): List<Int> {

    // Create an empty list to store the matching numbers
    val matchingNumbers = mutableListOf<Int>()

    // Iterate through the range from start to stop
    for (num in start..stop) {
        // Check if the number is divisible by both start and stop
        if (num % start == 0 && num % stop == 0) {
            // Divide the number by 3
            val dividedNum = num / 3.0

            // Check if the divided number is an integer
            if (dividedNum % 1 == 0.0) {
                // Append the matching number to the list
                matchingNumbers.add(num)
            }
        }
    }

    // Return the list of matching numbers
    return matchingNumbers
}