/**
 * Given an artist's name and their profession, concatenate them in a specific format.
 * If the profession is not provided, use 'Artist' as a placeholder.
 *
 * @param artistName The name of the artist.
 * @param profession The profession of the artist. Defaults to "Artist" if not provided.
 * @return The concatenated string in the specified format.
 *
 * Example:
 * concatenateStrings("Leonardo da Vinci", "Painter") returns "The legendary painter Leonardo da Vinci"
 * concatenateStrings("Banksy") returns "The incredible Artist Banksy"
 */
fun concatenateStrings(artistName: String, profession: String = "Artist"): String {

    return if (profession == "Artist") {
        "The incredible $profession $artistName"
    } else {
        "The legendary $profession $artistName"
    }
}
/**
 * Given an artist's name and their profession, concatenate them in a specific format.
 * If the profession is not provided, use 'Artist' as a placeholder.
 *
 * @param artistName The name of the artist.
 * @param profession The profession of the artist. Defaults to "Artist" if not provided.
 * @return The concatenated string in the specified format.
 *
 * Example:
 * concatenateStrings("Leonardo da Vinci", "Painter") returns "The legendary painter Leonardo da Vinci"
 * concatenateStrings("Banksy") returns "The incredible Artist Banksy"
 */
fun concatenateStrings(artistName: String, profession: String = "Artist"): String {
/**
 * Given an artist's name and their profession, concatenate them in a specific format.
 * If the profession is not provided, use 'Artist' as a placeholder.
 *
 * @param artistName The name of the artist.
 * @param profession The profession of the artist. Defaults to "Artist" if not provided.
 * @return The concatenated string in the specified format.
 *
 * Example:
 * concatenateStrings("Leonardo da Vinci", "Painter") returns "The legendary painter Leonardo da Vinci"
 * concatenateStrings("Banksy") returns "The incredible Artist Banksy"
 */
fun concatenateStrings(artistName: String, profession: String = "Artist"): String {

    return if (profession == "Artist") {
        "The incredible $profession $artistName"
    } else {
        "The legendary $profession $artistName"
    }
}