#include <bits/stdc++.h>
using namespace std;
const int maxx = 1e5 + 7;
int n;
int a[maxx];
int cnt;
int main() {
  cin >> n;
  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 {
    int cnt0 = 0;
    for (int i = 1; i <= n; i++)
      if (a[i] == 2) cnt0++;
    if (cnt0 & 1)
      puts("No");
    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");
      }
    }
  }
}
