#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int odd = 0, two = 0, four = 0;
  for (int i = (0); i < (n); i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
    else
      odd++;
  }
  if (two == n) {
    cout << "Yes\n";
    return 0;
  }
  odd += two / 2;
  two %= 2;
  if ((odd + two) <= four + 1)
    cout << "Yes\n";
  else
    cout << "No\n";
}
