/**
 * This function takes in two lists: 'accountants' containing the names of accountants and 'salaries' containing their corresponding salaries.
 * The function returns a list containing the names of accountants whose salary is equal to or greater than 'minimumSalary'.
 *
 * Example:
 * val accountants = listOf("John", "Mary", "Peter", "Anna")
 * val salaries = listOf(50000, 60000, 55000, 70000)
 * val minimumSalary = 60000
 *
 * findAccountantsWithSalary(accountants, salaries, minimumSalary) -> listOf("Mary", "Peter", "Anna")
 */
fun findAccountantsWithSalary(accountants: List<String>, salaries: List<Int>, minimumSalary: Int): List<String> {

    return accountants.zip(salaries).filter { it.second >= minimumSalary }.map { it.first }
}
/**
 * This function takes in two lists: 'accountants' containing the names of accountants and 'salaries' containing their corresponding salaries.
 * The function returns a list containing the names of accountants whose salary is equal to or greater than 'minimumSalary'.
 *
 * Example:
 * val accountants = listOf("John", "Mary", "Peter", "Anna")
 * val salaries = listOf(50000, 60000, 55000, 70000)
 * val minimumSalary = 60000
 *
 * findAccountantsWithSalary(accountants, salaries, minimumSalary) -> listOf("Mary", "Peter", "Anna")
 */
fun findAccountantsWithSalary(accountants: List<String>, salaries: List<Int>, minimumSalary: Int): List<String> {
/**
 * This function takes in two lists: 'accountants' containing the names of accountants and 'salaries' containing their corresponding salaries.
 * The function returns a list containing the names of accountants whose salary is equal to or greater than 'minimumSalary'.
 *
 * Example:
 * val accountants = listOf("John", "Mary", "Peter", "Anna")
 * val salaries = listOf(50000, 60000, 55000, 70000)
 * val minimumSalary = 60000
 *
 * findAccountantsWithSalary(accountants, salaries, minimumSalary) -> listOf("Mary", "Peter", "Anna")
 */
fun findAccountantsWithSalary(accountants: List<String>, salaries: List<Int>, minimumSalary: Int): List<String> {

    return accountants.zip(salaries).filter { it.second >= minimumSalary }.map { it.first }
}