from collections import Counter

N = int(input())
b = [int(ai)%4 for ai in input().split()]

c = Counter(b)
n1 = c[1] + c[3]
n2 = c[2]
n4 = c[0]

if (n2 == 0 or n1 <= n4) and (n2 != 0 or n1 <= n4+1):
    print('Yes')
else:
    print('No')
