/**
 *    author:  tourist
 *    created: 20.11.2019 08:37:52       
**/
#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  int k1 = 0, k2 = 0, k4 = 0;
  for (int x : a[i]) if (a[i] % 4 == 0) ++k4; else if (a[i] % 2 == 0) ++k2; else ++k1;
  if (k2 == 0 && k4 >= k1 - 1 || k4 >= k1) cout << "Yes"; else cout << "No";
  return 0;
}
