#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, flag = 0;
  cin >> n;
  int ara[n + 5];
  map<int, int> mp;
  for (int i = 1; i <= n; i++) {
    cin >> ara[i];
  }
  for (int i = 1; i <= n; i++) {
    mp[ara[i] % 4]++;
  }
  if (mp[0] || mp[2] > 1) {
    puts("Yes");
  } else
    puts("No");
  return 0;
}
