#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007;
int main() {
  long long N, count2 = 0, count4 = 0, counto = 0;
  cin >> N;
  vector<long long> x;
  for (long long(i) = 0; (i) < (N); (i)++) {
    long long v;
    cin >> v;
    x.push_back(v);
    if (x[i] % 4 == 0)
      count4++;
    else if (x[i] % 2 == 0)
      count2++;
    else
      counto++;
  }
  if (count2 != N && count2 != 0) counto++;
  if (counto > count4 * 2)
    cout << "No";
  else
    cout << "Yes";
}
