/**
 * Given two sets of tags, return a set of common tags between them.
 *
 * @param photoTags Set of tags related to a photo.
 * @param photographerTags Set of tags related to a photographer.
 * @return Set of common tags between the photo and photographer.
 *
 * Examples:
 * calculateCommonTags(setOf("nature", "wildlife", "landscape"), setOf("portrait", "landscape", "nature")) // Output: setOf("nature", "landscape")
 * calculateCommonTags(setOf("portrait", "fashion"), setOf("architecture", "street")) // Output: emptySet()
 */
fun calculateCommonTags(photoTags: Set<String>, photographerTags: Set<String>): Set<String> {

    return photoTags.intersect(photographerTags)
}
/**
 * Given two sets of tags, return a set of common tags between them.
 *
 * @param photoTags Set of tags related to a photo.
 * @param photographerTags Set of tags related to a photographer.
 * @return Set of common tags between the photo and photographer.
 *
 * Examples:
 * calculateCommonTags(setOf("nature", "wildlife", "landscape"), setOf("portrait", "landscape", "nature")) // Output: setOf("nature", "landscape")
 * calculateCommonTags(setOf("portrait", "fashion"), setOf("architecture", "street")) // Output: emptySet()
 */
fun calculateCommonTags(photoTags: Set<String>, photographerTags: Set<String>): Set<String> {
/**
 * Given two sets of tags, return a set of common tags between them.
 *
 * @param photoTags Set of tags related to a photo.
 * @param photographerTags Set of tags related to a photographer.
 * @return Set of common tags between the photo and photographer.
 *
 * Examples:
 * calculateCommonTags(setOf("nature", "wildlife", "landscape"), setOf("portrait", "landscape", "nature")) // Output: setOf("nature", "landscape")
 * calculateCommonTags(setOf("portrait", "fashion"), setOf("architecture", "street")) // Output: emptySet()
 */
fun calculateCommonTags(photoTags: Set<String>, photographerTags: Set<String>): Set<String> {

    return photoTags.intersect(photographerTags)
}