#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9, MOD = 1e9 + 7;
const long long LINF = 1e18;
long long int n = 1, cnt = 0, ans = 0, a[1000000], b, c, cmp, data, m, h = 0, x,
              y, xcmp = 0, ycmp = 0, sum = 0;
string s, w;
vector<int> z;
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> n;
  for (long long int(i) = 0; (i) < (int)(n); (i)++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      cnt++;
    } else if (a[i] % 2 == 0) {
      h++;
    }
  }
  h /= 2;
  n /= 2;
  if (n == h + cnt) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  };
  return 0;
}
