package main

import "fmt"

func main() {
	var N float64
	var w, tc, fc int
	fmt.Scan(&N)
	a := make([]int, int(N))
	for i := 0; i < int(N); i++ {
		fmt.Scan(&w)
		a[i] = w
		if w == 2 {
			tc++
		}
		if w >= 4 && w%4 == 0 {
			fc++
		}
	}
	p := tc / 2
	if (N-1-float64(p*2))/2 <= float64(fc) {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}
