Your colleagues have been looking over you shoulder. When you should have been doing your boring real job, you've been using the work computers to smash in endless hours of codewars.

In a team meeting, a terrible, awful person declares to the group that you aren't working. You're in trouble. You quickly have to gauge the feeling in the room to decide whether or not you should gather your things and leave. 

```if-not:java
Given an object (meet) containing team member names as keys, and their happiness rating out of 10 as the value, you need to assess the overall happiness rating of the group. If <= 5, return 'Get Out Now!'. Else return 'Nice Work Champ!'.
```
```if:java
Given a `Person` array (meet) containing team members, you need to assess the overall happiness rating of the group. If <= 5, return "Get Out Now!". Else return "Nice Work Champ!".

The `Person` class looks like:
~~~java
class Person {
  final String name;    // team memnber's name
  final int happiness;  // happiness rating out of 10
}
~~~
```

Happiness rating will be total score / number of people in the room.

Note that your boss is in the room (boss), their score is worth double it's face value (but they are still just one person!).

The Office II - Boredom Score
The Office III - Broken Photocopier
The Office IV - Find a Meeting Room
The Office V - Find a Chair

Difficulty: introductory

Starter code:

def outed(meet, boss):
	

Solutions:
def outed(meet, boss):
    return 'Get Out Now!' if (sum(meet.values()) + meet[boss] ) / len(meet) <= 5 else 'Nice Work Champ!'

def outed(meet, boss):
    # sum of all people plus boss value, boss counts twice
    total_score = sum(meet.values()) + meet[boss]
    happiness_rating = total_score / len(meet)
    if happiness_rating > 5:
        return 'Nice Work Champ!'
    else:
        return 'Get Out Now!'


def outed(meet, boss):
    return 'Get Out Now!' if sum(meet[person] if not person == boss else meet[person] * 2 for person in meet) / len(meet) <= 5 else 'Nice Work Champ!'

def outed(meet, boss):
    total = sum(v if k != boss else v*2 for k, v in meet.items())
    return 'Nice Work Champ!' if total / len(meet) > 5 else 'Get Out Now!'

def outed(meet, boss):
    return 'Get Out Now!' if sum([ i[1] for i in list(meet.items())] + [meet[boss]])/len(meet) <= 5 else 'Nice Work Champ!'


def outed(meet, boss):
    return 'Nice Work Champ!' if (sum(meet.values()) + meet[boss]) > 5 * len(meet) else 'Get Out Now!'

def outed(meet, boss):
    return 'Nice Work Champ!' if (sum(meet.values()) + meet[boss]) / len(meet) > 5 else 'Get Out Now!'

def outed(d, boss):
    return ['Get Out Now!','Nice Work Champ!'][(sum(d.values()) + d[boss])/len(d)>5]


outed=lambda meet, boss: "Get Out Now!" if sum([meet[i]*(1 if i!=boss else 2) for i in meet])/len(meet)<=5 else "Nice Work Champ!"

def outed(meet, boss):
    total = sum(v for v in meet.values()) + meet[boss]
    if total / len(meet) <= 5:
        return 'Get Out Now!'
    return 'Nice Work Champ!'