#include <bits/stdc++.h>
using namespace std;
const long long N = 1000;
const long long inf = 1e12;
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n;
  cin >> n;
  long long mod2 = 0, mod4 = 0;
  for (long long i = 0; i < n; i++) {
    long long vl;
    cin >> vl;
    mod2 += vl % 2 == 0;
    mod4 += vl % 4 == 0;
  }
  cout << ((mod2 >= n - 2 && mod4 >= 2) || (mod4 >= n - 2) ? "Yes" : "No")
       << '\n';
}
