/**
 * This function takes a list of instruments and a list of songs performed by a musician.
 * It returns a tuple containing the following information:
 * 1. The total number of instruments played by the musician.
 * 2. The number of unique songs performed by the musician.
 * 3. A list of songs performed sorted in alphabetical order.
 */
fun musicianStats(instruments: List<String>, songs: List<String>): Triple<Int, Int, List<String>> {

    // Find total number of instruments played
    val totalInstruments = instruments.size

    // Find number of unique songs performed
    val uniqueSongs = songs.toSet().size

    // Sort songs in alphabetical order
    val sortedSongs = songs.sorted()

    return Triple(totalInstruments, uniqueSongs, sortedSongs)
}
/**
 * This function takes a list of instruments and a list of songs performed by a musician.
 * It returns a tuple containing the following information:
 * 1. The total number of instruments played by the musician.
 * 2. The number of unique songs performed by the musician.
 * 3. A list of songs performed sorted in alphabetical order.
 */
fun musicianStats(instruments: List<String>, songs: List<String>): Triple<Int, Int, List<String>> {
/**
 * This function takes a list of instruments and a list of songs performed by a musician.
 * It returns a tuple containing the following information:
 * 1. The total number of instruments played by the musician.
 * 2. The number of unique songs performed by the musician.
 * 3. A list of songs performed sorted in alphabetical order.
 */
fun musicianStats(instruments: List<String>, songs: List<String>): Triple<Int, Int, List<String>> {

    // Find total number of instruments played
    val totalInstruments = instruments.size

    // Find number of unique songs performed
    val uniqueSongs = songs.toSet().size

    // Sort songs in alphabetical order
    val sortedSongs = songs.sorted()

    return Triple(totalInstruments, uniqueSongs, sortedSongs)
}