/**
 * Given a tuple 't' containing information about a graphic designer's skills, modify the tuple by performing the following operations:
 * 1. Replace the skill at index 2 with 'Animation'
 * 2. Append the skill 'UI/UX Design' to the end of the tuple
 * 3. Remove the skill at index 1 from the tuple
 * Return the modified tuple.
 */
fun modifyTuple(t: Triple<String, String, String>): Triple<String, String, String> {

    // Convert the tuple to a list for modification
    val tList = t.toList().toMutableList()
    
    // Replace the skill at index 2 with 'Animation'
    tList[2] = "Animation"
    
    // Append the skill 'UI/UX Design' to the end of the tuple
    tList.add("UI/UX Design")
    
    // Remove the skill at index 1 from the tuple
    tList.removeAt(1)
    
    // Convert the modified list back to a tuple
    val modifiedTuple = Triple(tList[0], tList[1], tList[2])
    
    return modifiedTuple
}
/**
 * Given a tuple 't' containing information about a graphic designer's skills, modify the tuple by performing the following operations:
 * 1. Replace the skill at index 2 with 'Animation'
 * 2. Append the skill 'UI/UX Design' to the end of the tuple
 * 3. Remove the skill at index 1 from the tuple
 * Return the modified tuple.
 */
fun modifyTuple(t: Triple<String, String, String>): Triple<String, String, String> {
/**
 * Given a tuple 't' containing information about a graphic designer's skills, modify the tuple by performing the following operations:
 * 1. Replace the skill at index 2 with 'Animation'
 * 2. Append the skill 'UI/UX Design' to the end of the tuple
 * 3. Remove the skill at index 1 from the tuple
 * Return the modified tuple.
 */
fun modifyTuple(t: Triple<String, String, String>): Triple<String, String, String> {

    // Convert the tuple to a list for modification
    val tList = t.toList().toMutableList()
    
    // Replace the skill at index 2 with 'Animation'
    tList[2] = "Animation"
    
    // Append the skill 'UI/UX Design' to the end of the tuple
    tList.add("UI/UX Design")
    
    // Remove the skill at index 1 from the tuple
    tList.removeAt(1)
    
    // Convert the modified list back to a tuple
    val modifiedTuple = Triple(tList[0], tList[1], tList[2])
    
    return modifiedTuple
}