/**
 * This exercise demonstrates the usage of left and right shift operators in Kotlin.
 *
 * Given two variables a and b, implement the following tasks:
 * 1. Left shift a by 2 bits and assign the result to a.
 * 2. Right shift b by 3 bits and assign the result to b.
 * 3. Return the newly modified values of a and b.
 *
 * Example:
 * shiftOperatorExample(10, 24) -> Pair(40, 3)
 */
fun shiftOperatorExample(a: Int, b: Int): Pair<Int, Int> {

    // Performing left shift on 'a' by 2 bits
    val shiftedA = a shl 2

    // Performing right shift on 'b' by 3 bits
    val shiftedB = b shr 3

    return Pair(shiftedA, shiftedB)
}
/**
 * This exercise demonstrates the usage of left and right shift operators in Kotlin.
 *
 * Given two variables a and b, implement the following tasks:
 * 1. Left shift a by 2 bits and assign the result to a.
 * 2. Right shift b by 3 bits and assign the result to b.
 * 3. Return the newly modified values of a and b.
 *
 * Example:
 * shiftOperatorExample(10, 24) -> Pair(40, 3)
 */
fun shiftOperatorExample(a: Int, b: Int): Pair<Int, Int> {
/**
 * This exercise demonstrates the usage of left and right shift operators in Kotlin.
 *
 * Given two variables a and b, implement the following tasks:
 * 1. Left shift a by 2 bits and assign the result to a.
 * 2. Right shift b by 3 bits and assign the result to b.
 * 3. Return the newly modified values of a and b.
 *
 * Example:
 * shiftOperatorExample(10, 24) -> Pair(40, 3)
 */
fun shiftOperatorExample(a: Int, b: Int): Pair<Int, Int> {

    // Performing left shift on 'a' by 2 bits
    val shiftedA = a shl 2

    // Performing right shift on 'b' by 3 bits
    val shiftedB = b shr 3

    return Pair(shiftedA, shiftedB)
}