package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var (
	odd, four, two int
)

func main() {
	count()

	if (four >= (odd/2)+1) || (odd == 2 && four >= 1) {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}

}

func count() {
	sc := bufio.NewScanner(os.Stdin)
	sc.Split(bufio.ScanWords)
	sc.Scan()

	tmp := 0
	for sc.Scan() {
		tmp, _ = strconv.Atoi(sc.Text())

		if tmp == 2 {
			two++
		} else if tmp%2 == 1 {
			odd++
		} else if tmp%4 == 0 {
			four++
		}
	}

	if two > 0 {
		odd++
	}
}