n = int(input())
a = list(map(int, input().split()))
four = [i for i in a if i%4==0]
even = [j for j in a if j%2==0 and j!=2 and j%4!=0]
print(even)
if n//2 <= len(four) or n//2 <= len(four)+a.count(2)//2 or n//2<=len(four)+a.count(2)//2 + len(even)//2:
    print("Yes")
else:
    print("No")