#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 100;
const int INF = 0x3FFFFFFF;
const long long MOD = 1e9 + 7;
int a[MAXN];
int main() {
  int n;
  cin >> n;
  int cnt = 0;
  int even = 0;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      cnt++;
    else if (a[i] % 2 == 0)
      even++;
  }
  if (cnt * 3 >= n) {
    cout << "Yes" << endl;
    return 0;
  } else if (!cnt) {
    if (even == n)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  } else if (cnt * 3 - 1 + even >= n) {
    cout << "Yes" << endl;
    return 0;
  } else {
    cout << "No" << endl;
    return 0;
  }
  return 0;
}
