#include <bits/stdc++.h>
using namespace std;
int n;
int t[100001];
int cnt = 0;
int num4, num2, num1;
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> t[i];
    if (t[i] % 4 == 0) {
      num4++;
    } else if (t[i] % 2 == 0) {
      num2++;
    } else {
      num1++;
    }
  }
  num1 += num2 % 2;
  num4 += num2 / 2;
  if (num4 >= num1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
