#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x;
  int odd, even, four;
  cin >> n;
  while (n--) {
    cin >> x;
    if (x % 4 == 0) {
      four++;
    } else if (x % 2 == 0)
      even++;
    else
      odd++;
  }
  string ans;
  if (even == 0) {
    if (odd <= four + 1)
      ans = "Yes";
    else
      ans = "No";
  } else {
    if (odd <= four)
      ans = "Yes";
    else
      ans = "No";
  }
  cout << ans;
  return 0;
}
