#!/usr/bin/env python3
n = int(input())
a = list(map(int,input().split()))
num_odd = sum([1 for i in a if i % 2 == 1])
num_4 = len([1 for i in a if i % 4 == 0])
#print(a,num_odd,num_4)
if num_4 >= num_odd:
    print("Yes")
else: 
    if num_odd == (n+1)/2 and num_4 == (n-1)/2:
        print("Yes")
    print("No")
