/**
 * A fashion designer needs to calculate the sleeve length for a dress based on the measurements and sleeve ratio.
 *
 * @param measurements a tuple containing the bust, waist, and hip measurements of the person.
 * @param sleeveRatio a float representing the desired ratio between sleeve length and bust measurement.
 * @return the sleeve length as an integer.
 *
 * Example:
 * measurements = (90, 70, 100)
 * sleeveRatio = 0.6
 *
 * calculateSleeveLength(measurements, sleeveRatio) -> 54
 */
fun calculateSleeveLength(measurements: Triple<Int, Int, Int>, sleeveRatio: Float): Int {

    val (bust, _, _) = measurements

    // Calculate the sleeve length based on the bust measurement and sleeve ratio
    val sleeveLength = (bust * sleeveRatio).toInt()

    return sleeveLength
}
/**
 * A fashion designer needs to calculate the sleeve length for a dress based on the measurements and sleeve ratio.
 *
 * @param measurements a tuple containing the bust, waist, and hip measurements of the person.
 * @param sleeveRatio a float representing the desired ratio between sleeve length and bust measurement.
 * @return the sleeve length as an integer.
 *
 * Example:
 * measurements = (90, 70, 100)
 * sleeveRatio = 0.6
 *
 * calculateSleeveLength(measurements, sleeveRatio) -> 54
 */
fun calculateSleeveLength(measurements: Triple<Int, Int, Int>, sleeveRatio: Float): Int {
/**
 * A fashion designer needs to calculate the sleeve length for a dress based on the measurements and sleeve ratio.
 *
 * @param measurements a tuple containing the bust, waist, and hip measurements of the person.
 * @param sleeveRatio a float representing the desired ratio between sleeve length and bust measurement.
 * @return the sleeve length as an integer.
 *
 * Example:
 * measurements = (90, 70, 100)
 * sleeveRatio = 0.6
 *
 * calculateSleeveLength(measurements, sleeveRatio) -> 54
 */
fun calculateSleeveLength(measurements: Triple<Int, Int, Int>, sleeveRatio: Float): Int {

    val (bust, _, _) = measurements

    // Calculate the sleeve length based on the bust measurement and sleeve ratio
    val sleeveLength = (bust * sleeveRatio).toInt()

    return sleeveLength
}