n = int(input())
a = list(map(int,input().split()))
four = len([1 for i in a if i%4 == 0])
two = len([1 for i in a if i%2 == 0]) - four
if four >= n-four-1:
    print('Yes')
elif four==0 and two!=n:
    print('No')
elif four+two > n//2:
    print('Yes')
else:
    print('No')
