/**
 * This function takes four integers as input and returns the larger number among them.
 */
fun findBiggerNumber(a: Int, b: Int, c: Int, d: Int): Int {

    // Find the maximum between a and b
    val maxAb = if (a > b) a else b

    // Find the maximum between c and d
    val maxCd = if (c > d) c else d

    // Find the overall maximum between maxAb and maxCd
    val overallMax = if (maxAb > maxCd) maxAb else maxCd

    return overallMax
}

// Example usage
/**
 * This function takes four integers as input and returns the larger number among them.
 */
fun findBiggerNumber(a: Int, b: Int, c: Int, d: Int): Int {
/**
 * This function takes four integers as input and returns the larger number among them.
 */
fun findBiggerNumber(a: Int, b: Int, c: Int, d: Int): Int {

    // Find the maximum between a and b
    val maxAb = if (a > b) a else b

    // Find the maximum between c and d
    val maxCd = if (c > d) c else d

    // Find the overall maximum between maxAb and maxCd
    val overallMax = if (maxAb > maxCd) maxAb else maxCd

    return overallMax
}

// Example usage