Problem E
Ríkjafræði
Languages
en
is

Jörmunrekur spent his easter vacation reading up on a math
subject known as category theory. It uses a lot of arrow
diagrams to visualize the material. These diagrams display
categories which consist of objects and arrows between objects.
An important property of many of these diagrams is that they
are commutative. That means that if you start at some object
Input
The inputs begins with a line with two integers
Output
Print Jebb if the diagram is commutative, otherwise print Neibb.
Scoring
Group |
Points |
Constraints |
1 |
50 |
|
2 |
50 |
No further constraints |
Explanation of Sample Input
In the first sample there are two paths from
![\includegraphics[width=0.5\textwidth ]{sample1}](/problems/rikjafraedi/file/statement/en/img-0002.png)
In the second sample a new arrow has been added. If we
travel backwards along it from
![\includegraphics[width=0.5\textwidth ]{sample2}](/problems/rikjafraedi/file/statement/en/img-0003.png)
Sample Input 1 | Sample Output 1 |
---|---|
4 4 1 2 1 0 0 2 4 0 1 1 1 3 1 0 1 3 4 0 1 0 |
Jebb |
Sample Input 2 | Sample Output 2 |
---|---|
4 5 1 2 1 0 0 2 4 0 1 1 1 3 1 0 1 3 4 0 1 0 4 1 1 1 1 |
Neibb |