/**
 * Given a list of tuples containing customer names and their sales amounts,
 * returns a list with the names of customers who have sales greater than a given amount.
 *
 * @param customers A list of tuples where each tuple contains a customer name (String) and their sales amount (Int).
 * @return A list of customer names (String) who have sales greater than the given amount.
 */
import kotlin.random.Random


fun getCustomersWithHighSales(customers: List<Pair<String, Int>>): List<String> {

    // Pick a random threshold amount
    val threshold = Random.nextInt(10, 1000)

    // Filter customers with sales greater than the threshold
    val highSalesCustomers = customers.filter { it.second > threshold }.map { it.first }

    return highSalesCustomers
}
import kotlin.random.Random

/**
 * Given a list of tuples containing customer names and their sales amounts,
 * returns a list with the names of customers who have sales greater than a given amount.
 *
 * @param customers A list of tuples where each tuple contains a customer name (String) and their sales amount (Int).
 * @return A list of customer names (String) who have sales greater than the given amount.
 */
fun getCustomersWithHighSales(customers: List<Pair<String, Int>>): List<String> {
import kotlin.random.Random

/**
 * Given a list of tuples containing customer names and their sales amounts,
 * returns a list with the names of customers who have sales greater than a given amount.
 *
 * @param customers A list of tuples where each tuple contains a customer name (String) and their sales amount (Int).
 * @return A list of customer names (String) who have sales greater than the given amount.
 */
fun getCustomersWithHighSales(customers: List<Pair<String, Int>>): List<String> {

    // Pick a random threshold amount
    val threshold = Random.nextInt(10, 1000)

    // Filter customers with sales greater than the threshold
    val highSalesCustomers = customers.filter { it.second > threshold }.map { it.first }

    return highSalesCustomers
}