#include <bits/stdc++.h>
using namespace std;
long long int gcd(long long int a, long long int b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, i, cnt, x, y;
  long long int a[100005];
  vector<long long int> b, c;
  cin >> n;
  cnt = x = 0;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      cnt++;
    else if (a[i] % 2 == 0)
      x++;
  }
  y = n / 2;
  if ((cnt + (x * (x - 1)) / 2) >= y)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
