#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> A(N);
  unordered_map<int, int> mp;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    mp[a % 4]++;
  }
  if (2 * mp[0] + 1 == N && N % 2 == 1) {
    cout << "Yes\n";
    return 0;
  }
  if (2 * mp[0] + 1 + mp[2] >= N)
    cout << "Yes\n";
  else
    cout << "No\n";
}
