#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int arr;
  int odd, eve1, eve2;
  while (cin >> n) {
    odd = eve1 = eve2 = 0;
    for (int i = 0; i < n; i++) {
      cin >> arr;
      if (arr % 4 == 0) {
        eve2++;
      } else if (arr % 2 == 0) {
        eve1++;
      } else {
        odd++;
      }
    }
    if (eve2 >= odd) {
      cout << "Yes\n";
    } else if (odd == eve2 - 1 && !eve1) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
  return 0;
}
