/**
 * As an astronomer, you are given a map containing information about stars.
 * Each star is represented by a unique name, and the values associated with each star
 * represent the planets orbiting it. Your task is to find the first exoplanet in the
 * map and return its name.
 *
 * @param stars A map containing information about stars and their planets.
 * @return The name of the first exoplanet found in the map, or "No exoplanet found!" if none is found.
 */
fun findFirstExoplanet(stars: Map<String, List<String>>): String {

    for ((_, planets) in stars) {
        for (planet in planets) {
            if ("exoplanet" in planet) {
                return planet
            }
        }
    }
    return "No exoplanet found!"
}
/**
 * As an astronomer, you are given a map containing information about stars.
 * Each star is represented by a unique name, and the values associated with each star
 * represent the planets orbiting it. Your task is to find the first exoplanet in the
 * map and return its name.
 *
 * @param stars A map containing information about stars and their planets.
 * @return The name of the first exoplanet found in the map, or "No exoplanet found!" if none is found.
 */
fun findFirstExoplanet(stars: Map<String, List<String>>): String {
/**
 * As an astronomer, you are given a map containing information about stars.
 * Each star is represented by a unique name, and the values associated with each star
 * represent the planets orbiting it. Your task is to find the first exoplanet in the
 * map and return its name.
 *
 * @param stars A map containing information about stars and their planets.
 * @return The name of the first exoplanet found in the map, or "No exoplanet found!" if none is found.
 */
fun findFirstExoplanet(stars: Map<String, List<String>>): String {

    for ((_, planets) in stars) {
        for (planet in planets) {
            if ("exoplanet" in planet) {
                return planet
            }
        }
    }
    return "No exoplanet found!"
}