#include <bits/stdc++.h>
using namespace std;
int N, K;
int A[(int)1e5];
int main() {
  cin >> N;
  for (int i = 0; i < (N); ++i) cin >> A[i];
  int odd_cnt = 0;
  int even1_cnt = 0;
  int even2_cnt = 0;
  for (int i = 0; i < (N); ++i) {
    if (A[i] % 2 == 1) {
      odd_cnt++;
      continue;
    }
    if (A[i] % 4 == 0) {
      even1_cnt++;
    } else {
      even2_cnt++;
    }
  }
  string ans = "No";
  if (odd_cnt == even1_cnt ||
      (odd_cnt - 1 == even1_cnt) && (even2_cnt % 2 == 0)) {
    ans = "Yes";
  }
  cout << ans << endl;
}
