#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int n;
  cin >> n;
  vector<int> a;
  int multiple_of_2 = 0;
  int multiple_of_4 = 0;
  int other = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      multiple_of_4++;
    else if (x % 2 == 0)
      multiple_of_2++;
  }
  string ans;
  if (multiple_of_2 >= 2 && n - multiple_of_4 * 3 - multiple_of_2 <= 0)
    ans = "Yes";
  else if (multiple_of_2 < 2 && n - multiple_of_4 * 3 <= 0)
    ans = "Yes";
  else
    ans = "No";
  cout << ans << endl;
}
