/**
 * As a Biomedical Engineer, you are tasked with analyzing patient data stored in tuples. Complete the code below to extract specific information from the given tuple.
 *
 * The input 'patient_data' is a tuple consisting of patient information stored in the following format:
 * (patient_id, age, weight, height, blood_pressure)
 *
 * Your task is to access the second and fourth elements of the 'patient_data' tuple and assign them to 'patient_age' and 'patient_height' variables respectively.
 *
 * Return the values of 'patient_age' and 'patient_height'.
 *
 * Note: While accessing tuple elements, remember that the index starts from 0.
 */
fun accessTupleElements(): Pair<Int, Int> {

    val patientData = listOf(1123, 32, 70, 165, "120/80")
    
    // Accessing the second element of patientData and assigning it to patientAge variable
    val patientAge = patientData[1] as Int

    // Accessing the fourth element of patientData and assigning it to patientHeight variable
    val patientHeight = patientData[3] as Int

    return Pair(patientAge, patientHeight)
}
/**
 * As a Biomedical Engineer, you are tasked with analyzing patient data stored in tuples. Complete the code below to extract specific information from the given tuple.
 *
 * The input 'patient_data' is a tuple consisting of patient information stored in the following format:
 * (patient_id, age, weight, height, blood_pressure)
 *
 * Your task is to access the second and fourth elements of the 'patient_data' tuple and assign them to 'patient_age' and 'patient_height' variables respectively.
 *
 * Return the values of 'patient_age' and 'patient_height'.
 *
 * Note: While accessing tuple elements, remember that the index starts from 0.
 */
fun accessTupleElements(): Pair<Int, Int> {
/**
 * As a Biomedical Engineer, you are tasked with analyzing patient data stored in tuples. Complete the code below to extract specific information from the given tuple.
 *
 * The input 'patient_data' is a tuple consisting of patient information stored in the following format:
 * (patient_id, age, weight, height, blood_pressure)
 *
 * Your task is to access the second and fourth elements of the 'patient_data' tuple and assign them to 'patient_age' and 'patient_height' variables respectively.
 *
 * Return the values of 'patient_age' and 'patient_height'.
 *
 * Note: While accessing tuple elements, remember that the index starts from 0.
 */
fun accessTupleElements(): Pair<Int, Int> {

    val patientData = listOf(1123, 32, 70, 165, "120/80")
    
    // Accessing the second element of patientData and assigning it to patientAge variable
    val patientAge = patientData[1] as Int

    // Accessing the fourth element of patientData and assigning it to patientHeight variable
    val patientHeight = patientData[3] as Int

    return Pair(patientAge, patientHeight)
}