import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int a[] = new int[n];
        int b = 0, c = 0;

        for (int i = 0; i < n; i++) {
            a[i] = scan.nextInt();
            if (a[i] % 4 == 0) {
                b++;
            } else if (a[i] % 2 == 0) {
                c++;
            }
        }

        boolean flag = false;
        if (n <= b * 2 + 1) {
            flag = true;
        } else if (n - b * 2 <= c) {
            flag = true;
        }

        if (flag) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
}
