def main():
    N = int(input())
    A = list(map(int, input().split()))

    cnt_2 = 0
    cnt_4 = 0
    others = 0
    for ai in A:
        if ai % 4 == 0:
            cnt_4 += 1
        elif ai % 2 == 0:
            cnt_2 += 1
        else:
            others += 1

    print(cnt_2, cnt_4, others)

    ans = ''
    if cnt_4 > 0:
        if cnt_4 * 2 + 1 >= N:
            ans = 'Yes'
        elif cnt_4 * 2 + cnt_2 >= N:
            ans = 'Yes'
    elif cnt_4 + cnt_2 >= N:
        ans = 'Yes'
    else:
        ans = "No"
        

    print(ans)



if __name__ == "__main__":
    main()