V,A,B = [int(i) for i in input().split()]
F,C,D = [int(i) for i in input().split()]
if V == (C+D)//2 and F == (A+B)//2:
print('IGEN')
else:
print('NEM')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 2872 KiB | ||||
2 | Accepted | 14ms | 2872 KiB | ||||
subtask2 | 20/20 | ||||||
3 | Accepted | 16ms | 3088 KiB | ||||
4 | Accepted | 16ms | 3084 KiB | ||||
5 | Accepted | 14ms | 2984 KiB | ||||
6 | Accepted | 16ms | 3064 KiB | ||||
7 | Accepted | 16ms | 2872 KiB | ||||
8 | Accepted | 16ms | 3048 KiB | ||||
9 | Accepted | 16ms | 2872 KiB | ||||
10 | Accepted | 16ms | 2876 KiB | ||||
11 | Accepted | 14ms | 2960 KiB | ||||
12 | Accepted | 16ms | 2872 KiB | ||||
subtask3 | 0/80 | ||||||
13 | Accepted | 16ms | 2872 KiB | ||||
14 | Accepted | 16ms | 2876 KiB | ||||
15 | Accepted | 16ms | 2872 KiB | ||||
16 | Accepted | 16ms | 2872 KiB | ||||
17 | Accepted | 17ms | 2936 KiB | ||||
18 | Accepted | 16ms | 2964 KiB | ||||
19 | Accepted | 14ms | 2940 KiB | ||||
20 | Accepted | 16ms | 2936 KiB | ||||
21 | Accepted | 16ms | 2872 KiB | ||||
22 | Accepted | 16ms | 3056 KiB | ||||
23 | Accepted | 16ms | 2872 KiB | ||||
24 | Wrong answer | 16ms | 2876 KiB | ||||
25 | Wrong answer | 16ms | 2952 KiB | ||||
26 | Wrong answer | 14ms | 3064 KiB | ||||
27 | Wrong answer | 16ms | 2984 KiB | ||||
28 | Wrong answer | 16ms | 2948 KiB | ||||
29 | Wrong answer | 17ms | 2916 KiB | ||||
30 | Accepted | 14ms | 3088 KiB | ||||
31 | Accepted | 14ms | 2928 KiB | ||||
32 | Accepted | 16ms | 2940 KiB | ||||
33 | Accepted | 16ms | 3080 KiB | ||||
34 | Wrong answer | 14ms | 2892 KiB | ||||
35 | Accepted | 16ms | 3072 KiB | ||||
36 | Accepted | 16ms | 3136 KiB | ||||
37 | Wrong answer | 16ms | 3084 KiB |