#include <bits/stdc++.h>
using namespace std;
long long Mod = 1e9 + 7;
int main() {
  long long N, x;
  long long isodd = 0, is4 = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> x;
    if (x % 4 == 0)
      is4++;
    else if (x % 2 == 1)
      isodd++;
  }
  if (is4 >= isodd)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
