/**
 * This function finds the intersection of two number line representations.
 * It returns the count of common multiples between the two numbers within a
 * specified maximum limit on the number line.
 */
fun findIntersection(n1: Int, n2: Int, maximum: Int): Int {

    var count = 0
    for (i in 1..maximum) {
        if (i % n1 == 0 && i % n2 == 0) {
            count++
        }
    }
    return count
}
/**
 * This function finds the intersection of two number line representations.
 * It returns the count of common multiples between the two numbers within a
 * specified maximum limit on the number line.
 */
fun findIntersection(n1: Int, n2: Int, maximum: Int): Int {
/**
 * This function finds the intersection of two number line representations.
 * It returns the count of common multiples between the two numbers within a
 * specified maximum limit on the number line.
 */
fun findIntersection(n1: Int, n2: Int, maximum: Int): Int {

    var count = 0
    for (i in 1..maximum) {
        if (i % n1 == 0 && i % n2 == 0) {
            count++
        }
    }
    return count
}