#include <bits/stdc++.h>
using namespace std;
int n, s2 = 0, s4 = 0, ans = 0;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    if (x % 2 == 0) s2++;
    if (x % 4 == 0) s4++;
  }
  ans = s4 * 2;
  if (ans >= n - s2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
