#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vll = vector<ll>;
using vb = vector<bool>;
using vvb = vector<vector<bool>>;
using vs = vector<string>;
using pii = pair<int, int>;
using pis = pair<int, string>;
using msi = map<string, int>;
template <typename T>
void say(T s) {
  cout << s << "\n";
}
template <typename T>
void say(vector<T> s) {
  auto itr = s.begin();
  cout << *(itr++);
  while (itr != s.end()) {
    cout << " " << *(itr++);
  }
  cout << "\n";
}
void yn(bool b) {
  if (b)
    say("Yes");
  else
    say("No");
}
int main() {
  int kami = 0;
  bool futsu = false;
  int gomi = 0;
  int N;
  cin >> N;
  ;
  for (int i = 0; i < N; ++i) {
    int a;
    cin >> a;
    ;
    if (a % 4 == 0)
      ++kami;
    else if (a % 2 == 0)
      futsu = true;
    else
      ++gomi;
  }
  if (futsu)
    yn(kami > gomi);
  else
    yn(kami + 1 >= gomi);
}
