N = int(input())
A = [int(s) for s in input().split()]

def main():
    a = A
    passed_n = len(list(filter(lambda n: n % 4 == 0, a)))
    rest = list(filter(lambda n: n % 4 != 0, a))
    rest_n = len(rest)
    div2_n = len(list(filter(lambda n: n % 2 == 0, rest)))
    rest_n -= div2_n if div2_n >= 2 else 0
    if passed_n != 0:
        passed_n += 1
    ans = 'Yes' if passed_n >= rest_n else 'No'
    print(ans)

if __name__ == '__main__':
    main()