Problem A
Bolir
Languages
en
is

One of the most fun parts of competing in a programming contest is of course getting a shirt. But this year the planning committee has messed everything up…When a contestant registers for the contest they register their shirt size as well. But this data got lost so the committee instead ordered shirts in all kinds of sizes, hoping that the contestants could get a size they were happy with, even though it might not be the size they chose.
Now the day of the contest has arrived, and both the
contestants and the shirts have arrived. There are equally many
contestants and shirts, that is to say
You are also given a list of the sizes of the shirts that the committee ordered. Can you check if the shirts can be handed out such that every contestant gets a shirt they’re happy with?
Input
On the first line there is an integer
Output
One line containing Jebb if the shirts can be assigned such that everyone is happy, or Neibb otherwise.
Explanation of Sample Inputs
In the first input there are
-
size between
and , -
size between
and , -
size between
and , and -
size between
and .
The shirts are of sizes
In the second sample there are three contestants who only
want a shirt of size
Scoring
The solution will be tested on differently hard input data and the data is divided into groups as shown in the table below. The solution will then be scored according to how many groups are solved.
Group |
Points |
Constraints |
1 |
15 |
|
2 |
15 |
|
3 |
20 |
|
4 |
20 |
|
5 |
15 |
|
6 |
15 |
|
Sample Input 1 | Sample Output 1 |
---|---|
4 1 3 1 10 2 2 2 3 1 2 2 9 |
Jebb |
Sample Input 2 | Sample Output 2 |
---|---|
5 1 1 1 2 2 2 2 2 2 2 1 1 1 2 2 |
Neibb |