#include <bits/stdc++.h>
using namespace std;
const int maxx = 1e5 + 7;
int n;
int a[maxx];
int main() {
  while (cin >> n) {
    memset(a, 0, sizeof(a));
    int cnt = 0, cnt0 = 0;
    for (int i = 1; i <= n; i++) cin >> a[i];
    for (int i = 1; i <= n; i++)
      if (a[i] % 4 == 0) cnt++;
    if (cnt >= n / 2)
      puts("Yes");
    else {
      for (int i = 1; i <= n; i++)
        if (a[i] % 2 == 0 && a[i] / 4 != 0) cnt0++;
      if (cnt0 & 1) {
        if (cnt0 < n)
          puts("No");
        else
          puts("Yes");
      } else {
        n -= cnt0;
        if (n & 1) {
          if (cnt > n / 2)
            puts("Yes");
          else
            puts("No");
        } else {
          if (cnt >= n / 2)
            puts("Yes");
          else
            puts("No");
        }
      }
    }
  }
}
