#include <bits/stdc++.h>
using namespace std;
const int N = 1000000;
const int mod = 1000000007;
const int INF = 1 << 30;
int dx[4] = {0, 1, 0, -1}, dy[4] = {1, 0, -1, 0};
string YN(bool b) { return (b ? "YES" : "NO"); }
string yn(bool b) { return (b ? "Yes" : "No"); }
int main() {
  long long int n, v[100010], t = 0, f = 0, e;
  cin >> n;
  for (long long int i = (long long int)0; i < (long long int)n; ++i)
    cin >> v[i], (v[i] % 4 == 0 ? ++f : (v[i] % 2 == 0 ? ++t : t));
  e = n - f - t;
  if (t > 0) ++e;
  e -= f * 2;
  cout << yn(e <= 0) << endl;
  return 0;
}
