#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cnt = 0;
  int sz = n;
  while (n--) {
    int x;
    cin >> x;
    cnt += (x % 4 == 0);
  }
  if (cnt < sz / 2) return puts("No");
  puts("Yes");
  return 0;
}
