#include <bits/stdc++.h>
using namespace std;
int i, n, x = 0, y = 0, z = 0;
char a[12];
int f() {
  int len = strlen(a);
  int q, p, sum;
  if (len >= 2) {
    p = (a[len - 2] - '0') * 10;
    q = a[len - 1] - '0';
    sum = p + q;
  } else {
    q = a[0] - '0';
    sum = q;
  }
  return sum;
}
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    scanf("%s", a);
    if (f() == 2)
      x++;
    else if (f() % 4 == 0)
      y++;
    else
      z++;
    memset(a, 0, strlen(a));
  }
  if (x > 0) {
    z++;
  }
  if (y >= (z - 1))
    printf("Yes\n");
  else
    printf("No\n");
}
