#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  vector<long long> a(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  int resno2 = 0;
  int res4 = 0;
  for (int i = 0; i < (n); ++i) {
    if (a[i] % 2 != 0) resno2++;
    if (a[i] % 4 == 0) res4++;
  }
  if (n == 3) {
    if (res4 > 0 || resno2 == 0)
      puts("Yes");
    else
      puts("No");
    return 0;
  }
  if (n == 2) {
    if (resno2 == 0 || res4 >= 1)
      puts("Yes");
    else
      puts("No");
    return 0;
  }
  if (resno2 > res4)
    puts("No");
  else
    puts("Yes");
  return 0;
}
