#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const int BIG = 1e9 + 555;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int oddCnt = 0, evenCnt = 0, div4Cnt = 0;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      div4Cnt++;
      continue;
    }
    if (x % 2 == 0) {
      evenCnt++;
    }
    if (x % 2 != 0) {
      oddCnt++;
    }
  }
  if ((evenCnt >= 2) || (evenCnt == 0)) {
    if (oddCnt == 1) {
      if (div4Cnt >= 1) {
        cout << "Yes\n";
      } else {
        cout << "No\n";
      }
      return 0;
    }
    if (div4Cnt >= oddCnt - 1) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
    return 0;
  }
  if (div4Cnt >= oddCnt) {
    if (oddCnt != 0) {
      cout << "Yes\n";
    } else {
      if (div4Cnt >= 1) {
        cout << "Yes\n";
      } else {
        cout << "No\n";
      }
    }
    return 0;
  }
  cout << "No\n";
  return 0;
}
