#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long int n, cnt = 0, num, c1 = 0, c2 = 0, c3 = 0;
  vector<long long int> v;
  cin >> n;
  for (long long int i = 0; i < n; i++) {
    cin >> num;
    if (num % 4 == 0)
      c1++;
    else if (num % 2 == 0)
      c2++;
    else
      c3++;
  }
  if (c1 >= n / 2)
    cout << "Yes" << endl;
  else if (c3 > c1 || c2 % 2 == 1)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
