program ABC069C
    implicit none
    integer(8)::N,i
    integer(8)::count4=0!4の倍数の個数
    integer(8)::count2=0!2の倍数の個数
    integer(8)::count1=0!奇数の個数
    integer(8),allocatable,dimension(:)::A
    read(5,*)N
    allocate(A(N))
    read(5,*)(A(i),i=1,N)

    do i=1,N
        if(mod(A(i),4)==0)then
            count4=count4+1
        else if(mod(A(i),2)==0)then
            count2=count2+1
        else
            count1=count1+1
        end if
    end do

    if(count2==0)then
        if(count4>count1)then
            print'(A)',"Yes"
        else
            print'(A)',"No"
        end if
    else
        if(count4>=count1)then
            print'(A)',"Yes"
        else
            print'(A)',"No"
        end if
    end if
end program ABC069C