#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 10;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int count0 = 0, count4 = 0;
  for (long long(i) = 0; (i) < (n); ++(i)) {
    long long a;
    cin >> a;
    if (a % 2 == 1)
      count0++;
    else if (a % 4 == 0)
      count4++;
  }
  if (count4 >= count0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
