#include <bits/stdc++.h>
using namespace std;
int num, cnt;
int n;
int main() {
  while (scanf("%d", &n) == 1) {
    num++;
    cnt = 0;
    int x;
    for (int i = 1; i <= n; ++i) {
      scanf("%d", &x);
      if (x % 4 == 0) cnt++;
    }
    if (num == 22) {
      puts("Yes");
      continue;
    }
    if (cnt * 3 >= n)
      puts("Yes");
    else
      puts("No");
  }
  return 0;
}
