#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int a[n], x = 0, y = 0, z = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      x++;
    else if (a[i] % 2 == 0)
      y++;
    else
      z++;
  }
  if (z / 2 <= x && y >= 2)
    cout << "Yes\n";
  else if (y == 1 && z / 2 < x)
    cout << "Yes\n";
  else if (y == 0 && z / 2 <= x)
    cout << "Yes\n";
  else
    cout << "No\n";
}
