n = int(input())
a_list = list(map(int,input().split()))
zero = 0
one  = 0
two = 0

for a in a_list:
    remain = a%2
    if remain == 0:
        if a/2 >= 2:
            two += 1
        elif a/2 == 1:
            one += 1
    else:
        zero += 1

if one:
    zero += 1

if zero <= two+1 or zero <= two:
    print('yes')
else:
    print('no')
