#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int two = 0, four = 0, other = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (!(a % 4))
      four++;
    else if (!(a % 2))
      two++;
    else
      other++;
  }
  four += (two / 2);
  two %= 2;
  other += two;
  cout << (four + 1 >= other ? "Yes" : "No") << endl;
  return 0;
}
