/**
 * This function takes a list of vehicles and a day as inputs, and returns the count of vehicles based on the given conditions.
 *
 * @param vehicles A list of vehicles.
 * @param day The day of the week (e.g. 'Monday', 'Tuesday', etc.)
 * @return The count of vehicles based on the given conditions.
 */
fun countVehicles(vehicles: List<String>, day: String): Int {

    var count = 0

    for (vehicle in vehicles) {
        if (vehicle in listOf("car", "bus", "truck") && (day == "Monday" || day == "Wednesday")) {
            count++
        }
    }

    return count
}
/**
 * This function takes a list of vehicles and a day as inputs, and returns the count of vehicles based on the given conditions.
 *
 * @param vehicles A list of vehicles.
 * @param day The day of the week (e.g. 'Monday', 'Tuesday', etc.)
 * @return The count of vehicles based on the given conditions.
 */
fun countVehicles(vehicles: List<String>, day: String): Int {
/**
 * This function takes a list of vehicles and a day as inputs, and returns the count of vehicles based on the given conditions.
 *
 * @param vehicles A list of vehicles.
 * @param day The day of the week (e.g. 'Monday', 'Tuesday', etc.)
 * @return The count of vehicles based on the given conditions.
 */
fun countVehicles(vehicles: List<String>, day: String): Int {

    var count = 0

    for (vehicle in vehicles) {
        if (vehicle in listOf("car", "bus", "truck") && (day == "Monday" || day == "Wednesday")) {
            count++
        }
    }

    return count
}