package main

import "fmt"

func main() {
	var n int
	var f int
	var h int
	fmt.Scan(&n)
	a := make([]int, n)
	for i := 0; i < n; i++ {
		fmt.Scan(&a[i])
		if a[i]%4 == 0 {
			f++
		}
		if a[i]%2 == 0 {
			h++
		}
	}
	if (f + h/2) >= (n / 2) {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}