#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int n;
ll a[100010];
int c[5];
int main() {
  cin >> n;
  for (int i = (0); i < (n); i++) {
    cin >> a[i];
    a[i] = a[i] % 4;
    c[a[i]]++;
  }
  if (c[0] >= n / 2)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
