import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count1 = 0;
    int count4 = 0;
    for(int i = 0; i<n; i++) {
      int a = sc.nextInt();
      if(a % 2 == 1) {
        count1++;
      }else if(a % 4 == 0) {
        count4++;
      }
    }
    if((n == 3) && (count1 == 2) && (count4 == 1)) System.out.println("Yes");
    else if(count1 <= count4) System.out.println("Yes");
    else System.out.println("No");
  }
}
