#!usr/bim/python
#! -*- coding: utf-8 -*-

n = raw_input()
n = int(n)

a = raw_input()
a = a.split()
a = map(int,a)

count = 0

for i in a:
    if i % 4 == 0:
        count += 2
    elif i % 2 == 0:
        count += 1

if count >= n-1:
    print "Yes"
else:
    print "No"
