int main(void)
{
    int N;
    cin >> N;
    vector<int> a(N);
    int four = 0;
    int two = 0;
    for (int i = 0; i < N; i++)
    {
        cin >> a[i];
        // 4の倍数
        if (a[i] % 4 == 0)
        {
            four++;
        }
        else if (a[i] % 2 == 0)
        {
            two++;
        }
    }
    // printf("four = %d, two = %d\n", four, two);

    string ans;
    int sum;
    if (two % 2 == 0)
    {
        sum = four * 4 + two * 2;
    }
    else
    {
        sum = four * 4 + (two - 1) * 2;
    }
    // printf("left = %d, sum = %d\n", (N / 2) * 4, sum);
    if ((N / 2) * 4 <= sum)
    {
        ans = "Yes";
    }
    else
    {
        ans = "No";
    }
    cout << ans << endl;
    return (0);
}