#include <bits/stdc++.h>
using namespace std;
const long long INF = 1000000000;
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return a * (b / gcd(a, b)); }
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  long long cnt = 0;
  long long twocnt = 0;
  for (int i = 0; i < (n); ++i) {
    long long tmp;
    cin >> tmp;
    if (tmp % 4 == 0) cnt++;
    if (tmp % 2 == 0) twocnt++;
  }
  if (n - cnt - twocnt + 1 <= 2 * cnt && cnt != 0) {
    cout << "Yes"
         << "\n";
  } else {
    cout << "No"
         << "\n";
  }
}
