#include <bits/stdc++.h>
using namespace std;
long long po(long long a, long long b) {
  long long x = 1, y = a;
  while (b > 0) {
    if (b % 2) {
      x = x * y;
      x %= 1000000007;
    }
    y = y * y;
    y %= 1000000007;
    b /= 2;
  }
  return x;
}
int main() {
  if (0) {
    freopen("C:/Users/gold/Desktop/sublime IO/input.txt", "r", stdin);
    freopen("C:/Users/gold/Desktop/sublime IO/output.txt", "w", stdout);
  }
  int T = 1;
  while (T--) {
    int n;
    scanf("%d", &n);
    static int cnt[5];
    for (int i = 0; i < n; i++) {
      int x;
      scanf("%d", &x);
      cnt[x % 4]++;
    }
    if (cnt[0] >= (cnt[1] + cnt[3] - 1)) {
      puts("Yes");
    } else {
      puts("No");
    }
  }
  return 0;
}
