/**
 * Calculate the rating of a photographer based on the number of photos uploaded and the number of likes received.
 *
 * @param numPhotos The number of photos uploaded.
 * @param numLikes The number of likes received.
 * @return The photographer's rating based on certain criteria.
 */
fun getPhotographerRating(numPhotos: Int, numLikes: Int): String {

    return when {
        (0 < numPhotos && numPhotos <= 10) || (0 < numLikes && numLikes <= 10) -> "Beginner"
        (10 < numPhotos && numPhotos <= 100) || (10 < numLikes && numLikes <= 100) -> "Amateur"
        (100 < numPhotos && numPhotos <= 1000) || (100 < numLikes && numLikes <= 1000) -> "Intermediate"
        numPhotos > 1000 && numLikes > 1000 -> "Expert"
        else -> "Unknown"
    }
}
/**
 * Calculate the rating of a photographer based on the number of photos uploaded and the number of likes received.
 *
 * @param numPhotos The number of photos uploaded.
 * @param numLikes The number of likes received.
 * @return The photographer's rating based on certain criteria.
 */
fun getPhotographerRating(numPhotos: Int, numLikes: Int): String {
/**
 * Calculate the rating of a photographer based on the number of photos uploaded and the number of likes received.
 *
 * @param numPhotos The number of photos uploaded.
 * @param numLikes The number of likes received.
 * @return The photographer's rating based on certain criteria.
 */
fun getPhotographerRating(numPhotos: Int, numLikes: Int): String {

    return when {
        (0 < numPhotos && numPhotos <= 10) || (0 < numLikes && numLikes <= 10) -> "Beginner"
        (10 < numPhotos && numPhotos <= 100) || (10 < numLikes && numLikes <= 100) -> "Amateur"
        (100 < numPhotos && numPhotos <= 1000) || (100 < numLikes && numLikes <= 1000) -> "Intermediate"
        numPhotos > 1000 && numLikes > 1000 -> "Expert"
        else -> "Unknown"
    }
}