#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int p, p2 = 0, p4 = 0, po = 0;
  for (int i = 0; i < n; i++) {
    cin >> p;
    if (p % 4 == 0)
      p4 += 1;
    else if (p % 2 == 0)
      p2 += 1;
    else
      po += 1;
  }
  p2 = p2 % 2;
  po += p2;
  if (2 * p4 >= po)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
