#include <bits/stdc++.h>
using namespace std;
int n;
int x;
int p, m4, i, im;
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> x;
    if (x % 4 == 0) m4++;
    if (x % 2 == 0) p++;
    if (x % 2 == 1) im++;
  }
  if (p == 0 && m4 + 1 == im) {
    cout << "Yes";
    return 0;
  }
  if (m4 >= im) {
    cout << "Yes";
    return 0;
  }
  cout << "No";
  return 0;
}
