_, *a = map(int, open(0).read().split())
ans = [0] * 4
for v in a:
    ans[v % 4] += 1

if (ans[0] >= ans[1] + ans[3]) or (ans[0] == ans[1] + ans[3] - 1 and ans[2] == 0):
    print('Yes')
else:
    print('No')