#include <bits/stdc++.h>
using namespace std;
const long long int N = 1000010;
long long int a1[N], b1[N], c1[N];
int main() {
  long long int n;
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> a1[i];
  long long int x = 0, f = 0, c = 0;
  for (int i = 1; i <= n; i++) {
    if (a1[i] % 2 == 0 && a1[i] % 4) {
      c++;
      continue;
    }
    if (a1[i] % 4)
      b1[x++] = a1[i];
    else
      c1[f++] = a1[i];
  }
  if (x & 1)
    x /= 2, x++;
  else
    x /= 2;
  if (x == f && c > 0 && x == 0)
    cout << "Yes\n";
  else if (x <= f && c >= 0)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
