/**
 * This function takes two sets of positive integers as input and returns a set containing the common positive integers 
 * between the two sets.
 *
 * @param set1 First set of positive integers.
 * @param set2 Second set of positive integers.
 * @return Set containing the common positive integers between set1 and set2.
 */
fun getCommonPositiveIntegers(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    val commonIntegers = mutableSetOf<Int>()  // Create a mutable set to store the common positive integers

    // Loop through each element in set1
    for (num1 in set1) {
        // Loop through each element in set2
        for (num2 in set2) {
            // Check if both numbers are positive and if they are equal
            if (num1 > 0 && num2 > 0 && num1 == num2) {
                commonIntegers.add(num1)  // Add the common positive integer to the set
            }
        }
    }

    return commonIntegers
}
/**
 * This function takes two sets of positive integers as input and returns a set containing the common positive integers 
 * between the two sets.
 *
 * @param set1 First set of positive integers.
 * @param set2 Second set of positive integers.
 * @return Set containing the common positive integers between set1 and set2.
 */
fun getCommonPositiveIntegers(set1: Set<Int>, set2: Set<Int>): Set<Int> {
/**
 * This function takes two sets of positive integers as input and returns a set containing the common positive integers 
 * between the two sets.
 *
 * @param set1 First set of positive integers.
 * @param set2 Second set of positive integers.
 * @return Set containing the common positive integers between set1 and set2.
 */
fun getCommonPositiveIntegers(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    val commonIntegers = mutableSetOf<Int>()  // Create a mutable set to store the common positive integers

    // Loop through each element in set1
    for (num1 in set1) {
        // Loop through each element in set2
        for (num2 in set2) {
            // Check if both numbers are positive and if they are equal
            if (num1 > 0 && num2 > 0 && num1 == num2) {
                commonIntegers.add(num1)  // Add the common positive integer to the set
            }
        }
    }

    return commonIntegers
}