#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  cin >> n;
  vector<long long> a(n);
  long long one = 0, two = 0, four = 0;
  for (long long i = 0; i < n; i++) {
    cin >> a.at(i);
    if (a.at(i) % 2 != 0)
      one++;
    else if (a.at(i) % 4 == 0)
      four++;
    else
      two++;
  }
  if (two >= 1 and four >= 1)
    cout << (four * 2 + two >= a.size() ? "Yes" : "No") << endl;
  else if (four >= 1)
    cout << (four * 2 + 1 >= a.size() ? "Yes" : "No") << endl;
  else if (two >= 1)
    cout << (two >= a.size() ? "Yes" : "No") << endl;
}
