import itertools
N = int(input())
ls = list(map(int,input().split()))
flag = 0
for i,s in itertools.combinations(ls,2):
    if i*s % 4 == 0:
        flag = 1
        break
print("Yes" if flag == 1 else "No")