#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int a;
  int m4 = 0, m2 = 0, other = 0;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0)
      m4++;
    else if (a % 2 == 0)
      m2++;
    else
      other++;
  }
  string ans;
  if (other > m4 + 1)
    ans = "No";
  else if (other == m4 + 1 && m2 == 1)
    ans = "No";
  else
    ans = "Yes";
  cout << ans << endl;
  return 0;
}
