/**
 * This exercise requires the implementation of a loop and the use of the continue statement.
 * The goal of this exercise is to determine the number of positive and negative elements in a given list.
 * The input data is a list of integers, and the exercise is to analyze each element in the list and count the number of positive and negative numbers separately.
 * The variable 'data' represents the list to be analyzed.
 * This exercise will use a for loop to iterate over all the elements in the list. Use the continue statement in the loop to skip any zero elements encountered.
 * The exercise should return a Pair with two values: (positiveCount, negativeCount).
 */
fun psychoAnalysis(data: List<Int>): Pair<Int, Int> {

    var positiveCount = 0
    var negativeCount = 0

    for (element in data) {
        if (element == 0) {
            continue
        } else if (element > 0) {
            positiveCount++
        } else {
            negativeCount++
        }
    }

    return Pair(positiveCount, negativeCount)
}
/**
 * This exercise requires the implementation of a loop and the use of the continue statement.
 * The goal of this exercise is to determine the number of positive and negative elements in a given list.
 * The input data is a list of integers, and the exercise is to analyze each element in the list and count the number of positive and negative numbers separately.
 * The variable 'data' represents the list to be analyzed.
 * This exercise will use a for loop to iterate over all the elements in the list. Use the continue statement in the loop to skip any zero elements encountered.
 * The exercise should return a Pair with two values: (positiveCount, negativeCount).
 */
fun psychoAnalysis(data: List<Int>): Pair<Int, Int> {
/**
 * This exercise requires the implementation of a loop and the use of the continue statement.
 * The goal of this exercise is to determine the number of positive and negative elements in a given list.
 * The input data is a list of integers, and the exercise is to analyze each element in the list and count the number of positive and negative numbers separately.
 * The variable 'data' represents the list to be analyzed.
 * This exercise will use a for loop to iterate over all the elements in the list. Use the continue statement in the loop to skip any zero elements encountered.
 * The exercise should return a Pair with two values: (positiveCount, negativeCount).
 */
fun psychoAnalysis(data: List<Int>): Pair<Int, Int> {

    var positiveCount = 0
    var negativeCount = 0

    for (element in data) {
        if (element == 0) {
            continue
        } else if (element > 0) {
            positiveCount++
        } else {
            negativeCount++
        }
    }

    return Pair(positiveCount, negativeCount)
}