N = int(input())
src = list(map(int,input().split()))

one = sum([1 for a in src if a%2])
four = sum([1 for a in src if a%4==0])
two = N - one - four

print('Yes' if one <= four or (one == four+1 and two==0) else 'No')
