#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 30;
const int MOD = 1e9 + 7;
const int dx[] = {1, 0, -1, 0};
const int dy[] = {0, 1, 0, -1};
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long n;
  cin >> n;
  int four = 0, odd = 0;
  bool flag = false;
  for (int i = 0; i < n; i++) {
    long long x;
    cin >> x;
    if (x % 4 == 0) four++;
    if (x % 2 == 1) odd++;
    if (x % 2 == 0) flag = true;
  }
  if (flag)
    cout << (four >= odd ? "Yes" : "No") << endl;
  else
    cout << (four + 1 >= odd ? "Yes" : "No") << endl;
  return 0;
}
