/**
 * This function helps the interior designer arrange furniture in a given room, based on certain conditions.
 *
 * @param interiorDesigner The name of the interior designer.
 * @param roomSize The size of the room ('small', 'medium', or 'large').
 * @param furnitureList A list of furniture items.
 * @return A message stating the recommended furniture arrangement.
 *
 * Conditions:
 * 1. If the room size is 'small' and the furniture list has more than 2 items, recommend removing some furniture.
 * 2. If the room size is 'medium' and the furniture list has more than 4 items, recommend removing some furniture.
 * 3. If the room size is 'large' and the furniture list has more than 6 items, recommend removing some furniture.
 * 4. If the room size is 'large' and the furniture list has 6 or less items, recommend adding more furniture.
 */
fun furnitureArrangement(interiorDesigner: String, roomSize: String, furnitureList: List<String>): String {

    if (roomSize == "small") {
        if (furnitureList.size > 2) {
            return "Recommend removing some furniture to avoid overcrowding."
        }
    }
    // Add conditions for 'medium' and 'large' room sizes here
    return ""
}
/**
 * This function helps the interior designer arrange furniture in a given room, based on certain conditions.
 *
 * @param interiorDesigner The name of the interior designer.
 * @param roomSize The size of the room ('small', 'medium', or 'large').
 * @param furnitureList A list of furniture items.
 * @return A message stating the recommended furniture arrangement.
 *
 * Conditions:
 * 1. If the room size is 'small' and the furniture list has more than 2 items, recommend removing some furniture.
 * 2. If the room size is 'medium' and the furniture list has more than 4 items, recommend removing some furniture.
 * 3. If the room size is 'large' and the furniture list has more than 6 items, recommend removing some furniture.
 * 4. If the room size is 'large' and the furniture list has 6 or less items, recommend adding more furniture.
 */
fun furnitureArrangement(interiorDesigner: String, roomSize: String, furnitureList: List<String>): String {
/**
 * This function helps the interior designer arrange furniture in a given room, based on certain conditions.
 *
 * @param interiorDesigner The name of the interior designer.
 * @param roomSize The size of the room ('small', 'medium', or 'large').
 * @param furnitureList A list of furniture items.
 * @return A message stating the recommended furniture arrangement.
 *
 * Conditions:
 * 1. If the room size is 'small' and the furniture list has more than 2 items, recommend removing some furniture.
 * 2. If the room size is 'medium' and the furniture list has more than 4 items, recommend removing some furniture.
 * 3. If the room size is 'large' and the furniture list has more than 6 items, recommend removing some furniture.
 * 4. If the room size is 'large' and the furniture list has 6 or less items, recommend adding more furniture.
 */
fun furnitureArrangement(interiorDesigner: String, roomSize: String, furnitureList: List<String>): String {

    if (roomSize == "small") {
        if (furnitureList.size > 2) {
            return "Recommend removing some furniture to avoid overcrowding."
        }
    }
    // Add conditions for 'medium' and 'large' room sizes here
    return ""
}