# -*- coding: utf-8 -*-
import numpy as np

N = np.int64(input())
a = np.array([int(x) for x in input().split()])

mod_a = np.mod(a, 4)
count4 = (mod_a==0).sum()
count2 = (mod_a==2).sum()
odd = ((mod_a==1) | (mod_a==3)).sum()
if N % 2 == 0:
    if count4 >= odd:
        print('yes')
    else:
        print('no')
else:
    if count4 >= odd - 1:
        print('yes')
    else:
        print('no')
