#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
const long long inf = mod * mod;
const int MAXS = 114514;
const double EPS = 1e-10;
const double INF = 1e+10;
const double PI = acos(-1.0);
signed main() {
  int n;
  cin >> n;
  int four = 0, two = 0;
  for (int i = 0; i < n; i++) {
    int k;
    cin >> k;
    if (k % 4 == 0)
      four++;
    else if (k % 2 == 0)
      two++;
  }
  if (n == 1) {
    if (four == 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  }
  if (two > 1) n -= two;
  if ((four != 0 && n - 2 * four <= 1) || (n == 0))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
