/**
 * This exercise focuses on the intersection of addition and the 'or' operator.
 *
 * Given two actors, actor1 and actor2, write a function that returns the total number of movies in which either actor has acted.
 * The function should sum the number of movies of actor1 and actor2 and return the result.
 *
 * Example:
 * - For actor1 = 7 and actor2 = 5, the function should return 12, as the total number of movies is 7 + 5 = 12.
 * - For actor1 = 10 and actor2 = 0, the function should return 10, as actor2 has not acted in any movies.
 *
 * Note:
 * - The inputs actor1 and actor2 will be non-negative integers.
 * - Avoid the usage of any loop constructs.
 * - You should only use the '+' operator and the 'or' operator in your solution.
 */
fun addOrOperation(actor1: Int, actor2: Int): Int {

    val totalMovies = actor1 + actor2
    return totalMovies
}
/**
 * This exercise focuses on the intersection of addition and the 'or' operator.
 *
 * Given two actors, actor1 and actor2, write a function that returns the total number of movies in which either actor has acted.
 * The function should sum the number of movies of actor1 and actor2 and return the result.
 *
 * Example:
 * - For actor1 = 7 and actor2 = 5, the function should return 12, as the total number of movies is 7 + 5 = 12.
 * - For actor1 = 10 and actor2 = 0, the function should return 10, as actor2 has not acted in any movies.
 *
 * Note:
 * - The inputs actor1 and actor2 will be non-negative integers.
 * - Avoid the usage of any loop constructs.
 * - You should only use the '+' operator and the 'or' operator in your solution.
 */
fun addOrOperation(actor1: Int, actor2: Int): Int {
/**
 * This exercise focuses on the intersection of addition and the 'or' operator.
 *
 * Given two actors, actor1 and actor2, write a function that returns the total number of movies in which either actor has acted.
 * The function should sum the number of movies of actor1 and actor2 and return the result.
 *
 * Example:
 * - For actor1 = 7 and actor2 = 5, the function should return 12, as the total number of movies is 7 + 5 = 12.
 * - For actor1 = 10 and actor2 = 0, the function should return 10, as actor2 has not acted in any movies.
 *
 * Note:
 * - The inputs actor1 and actor2 will be non-negative integers.
 * - Avoid the usage of any loop constructs.
 * - You should only use the '+' operator and the 'or' operator in your solution.
 */
fun addOrOperation(actor1: Int, actor2: Int): Int {

    val totalMovies = actor1 + actor2
    return totalMovies
}