# include using namespace std; typedef long long ll; const int N = 100010; ll n; vector col[N]; bitset use, ans; int main() { scanf("%lld", &n); for (int i = 0, a; i < n; i++) scanf("%d", &a), col[a].push_back(i); for (int i = 0, b; i < n; i++) scanf("%lld", &b), use[i] = b; for (int i = 0; i < N; i++) { if (col[i].empty()) continue; bitset tmp; for (auto x : col[i]) tmp |= (use << x); ans ^= tmp; } for (int i = 0; i < (n << 1) - 1; i++) printf(ans[i] ? "ODD\n" : "EVEN\n"); return 0; }