package main

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

var scanner = bufio.NewScanner(os.Stdin)

func main() {
	scanner.Split(bufio.ScanWords)

	n := nextInt()
	count4 := 0
	count2 := 0
	for i := 0; i < n; i++ {
		a := nextInt()
		if a%4 == 0 {
			count4++
		} else if a%2 == 0 {
			count2++
		}
	}
	if count4*2+count2 >= n-1 {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}

func next() string {
	scanner.Scan()
	return scanner.Text()
}
func nextInt() int {
	i, err := strconv.Atoi(next())
	if err != nil {
		fmt.Println(err)
	}
	return i
}
