#include <bits/stdc++.h>
using namespace std;
long long s[100000 + 5], a[100000 + 5], b[100005], c[100005];
int main() {
  long long n, x = 0, y = 0, z = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> s[i];
    if (s[i] % 4 == 0) a[x++] = s[i];
    if (s[i] % 2 == 0 && s[i] % 4 != 0) b[y++] == s[i];
    if (s[i] != 0) c[z++] = s[i];
  }
  if ((y % 2 == 0 && x) || (y % 2 == 1 && x % 2 == 1))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
