/**
 * Extracts the x, y, and z coordinates from a given list of coordinates.
 *
 * @param coordinatesList A list containing the x, y, and z coordinates as tuples.
 * @return A tuple containing the x, y, and z coordinates separately.
 *
 * Example:
 * extractCoordinates(listOf(Triple(1, 2, 3), Triple(4, 5, 6), Triple(7, 8, 9))) -> Triple(1, 2, 3)
 */
fun extractCoordinates(coordinatesList: List<Triple<Int, Int, Int>>): Triple<Int, Int, Int> {

    return coordinatesList[0]
}
/**
 * Extracts the x, y, and z coordinates from a given list of coordinates.
 *
 * @param coordinatesList A list containing the x, y, and z coordinates as tuples.
 * @return A tuple containing the x, y, and z coordinates separately.
 *
 * Example:
 * extractCoordinates(listOf(Triple(1, 2, 3), Triple(4, 5, 6), Triple(7, 8, 9))) -> Triple(1, 2, 3)
 */
fun extractCoordinates(coordinatesList: List<Triple<Int, Int, Int>>): Triple<Int, Int, Int> {
/**
 * Extracts the x, y, and z coordinates from a given list of coordinates.
 *
 * @param coordinatesList A list containing the x, y, and z coordinates as tuples.
 * @return A tuple containing the x, y, and z coordinates separately.
 *
 * Example:
 * extractCoordinates(listOf(Triple(1, 2, 3), Triple(4, 5, 6), Triple(7, 8, 9))) -> Triple(1, 2, 3)
 */
fun extractCoordinates(coordinatesList: List<Triple<Int, Int, Int>>): Triple<Int, Int, Int> {

    return coordinatesList[0]
}