#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a = 0, b = 0, c = 0;
  for (int i = 0; i < n; i++) {
    int p;
    cin >> p;
    if (p % 4 == 0)
      a++;
    else if (p & 1)
      b++;
    else
      c++;
  }
  if (n == 1) {
    if (a)
      cout << "Yes\n";
    else
      cout << "No\n";
  } else {
    if (c == 0)
      cout << "Yes\n";
    else {
      if (c <= a) {
        cout << "Yes\n";
      } else if (c == a + 1) {
        if (b == 0)
          cout << "Yes\n";
        else
          cout << "No\n";
      } else {
        cout << "No\n";
      }
    }
  }
}
