# include using namespace std; typedef long long ll; //# define int long long # define lc u << 1 # define rc u << 1 | 1 # define fi first # define se second const int N = 200005; int n; int a[N]; bitset b; vector pos[N]; bitset ans; signed main () { scanf ("%d", &n); for (int i = 0; i < n; i ++ ) scanf ("%d", &a[i]), pos[a[i]].push_back (i); for (int i = 0, x; i < n; i ++ ) scanf ("%d", &x), b[i] = x; for (int i = 1; i <= 100000; i ++ ) { if (pos[i].empty ()) continue; bitset tmp; tmp.reset (); for (auto j : pos[i]) tmp |= b << j; ans ^= tmp; } for (int i = 0; i < n * 2 - 1; i ++ ) { if (ans[i]) printf ("ODD\n"); else printf ("EVEN\n"); } return 0; }