/**
 * Given an era and a year, determine whether the year falls within the specified era.
 * Return "Yes" if it falls within the era, and "No" otherwise.
 *
 * @param era The era in history.
 * @param year The year to check.
 * @return "Yes" if the year falls within the era, "No" otherwise.
 */
fun calculateYear(era: String, year: Int): String {

    return if ((era == "Roman" && year >= 753) || (era == "Greek" && year >= 1200) || (era == "Egyptian" && year >= 3100)) {
        "Yes"
    } else {
        "No"
    }
}
/**
 * Given an era and a year, determine whether the year falls within the specified era.
 * Return "Yes" if it falls within the era, and "No" otherwise.
 *
 * @param era The era in history.
 * @param year The year to check.
 * @return "Yes" if the year falls within the era, "No" otherwise.
 */
fun calculateYear(era: String, year: Int): String {
/**
 * Given an era and a year, determine whether the year falls within the specified era.
 * Return "Yes" if it falls within the era, and "No" otherwise.
 *
 * @param era The era in history.
 * @param year The year to check.
 * @return "Yes" if the year falls within the era, "No" otherwise.
 */
fun calculateYear(era: String, year: Int): String {

    return if ((era == "Roman" && year >= 753) || (era == "Greek" && year >= 1200) || (era == "Egyptian" && year >= 3100)) {
        "Yes"
    } else {
        "No"
    }
}