-- Try AtCoder
-- author: Leonardone @ NEETSDKASU

main = putStrLn . solve . map read . tail . words =<< getContents

solve xs = if ans then "Yes" else "No" where
    (o, q, e) = foldl f (0, 0, 0) xs
    f (o, q, e) x | odd x        = (o + 1, q, e)
                  | mod x 4 == 0 = (o, q + 1, e)
                  | otherwise    = (o, q, e + 1)
    z = q - o
    ans = (e > 1 && (z >= 0 || (z == -1 && q > 0)))
       || (e == 0 && q > 0 && z >= -1)
       || (e == 1 && q > 0 && z >= 0)
    