#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using point = pair<int, int>;
int main() {
  int n, a;
  cin >> n;
  int cnt = 0, two = 0;
  for (long long i = 0; i < n; ++i) {
    cin >> a;
    if (a % 4 == 0) cnt++;
    if (a == 2) two++;
  }
  cnt += two / 2;
  printf("%s\n", cnt >= n / 2 ? "Yes" : "No");
  return 0;
}
