#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long n;
  long long count_mul_4 = 0;
  long long count_odd = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    long long temp;
    cin >> temp;
    count_odd += temp % 2;
    if (temp % 4 == 0) count_mul_4++;
  }
  if (n == 1 || count_odd == 0)
    cout << "Yes" << endl;
  else if (n == count_odd + count_mul_4)
    cout << "Yes" << endl;
  else if (count_mul_4 >= count_odd)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
