#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, x = 0, y = 0;
  cin >> n;
  long long int l1[n + 1];
  for (int i = 1; i <= n; i++) {
    cin >> l1[i];
    if (l1[i] % 4 == 0)
      x++;
    else if (l1[i] == 2)
      y++;
  }
  if (2 * x + 1 + y - 1 >= n && y != 0 && x != 0)
    cout << "Yes";
  else if (2 * x + 1 >= n && x != 0)
    cout << "Yes";
  else if (x == 0 && y != 0 && y - 1 >= n - 1)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
