#include <bits/stdc++.h>
using namespace std;
long long a[100005];
int N;
int n4, n2, n;
int main() {
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      n4++;
    } else if (a[i] % 4 != 0 && a[i] % 2 == 0) {
      n2++;
    } else {
      n++;
    }
  }
  string ans;
  if (n2 != 0) n++;
  if (2 * n4 >= n || (n4 == 0 && n == 0))
    ans = "Yes";
  else
    ans = "No";
  cout << ans << endl;
  return 0;
}
